cookbook 'kibana5', '= 1.6.1'
kibana5
(20) Versions
1.6.1
-
Follow5
Installs/Configures kibana 5
cookbook 'kibana5', '= 1.6.1', :supermarket
knife supermarket install kibana5
knife supermarket download kibana5
chef-kibana5
Description
This cookbook installs and configures Kibana version 5.2.0 and above. This cookbook may work with Kibana 6.x.x, but no guarantee.
Requirements
Cookbooks
Platforms
Tested only on CentOS 7 and Ubuntu 16.04. Should work on any modern Linux OS with systemd.
Recipes
-
default.rb
- Runskibana5_install
andkibana5_configure
with default options.
Resources
kibana5_install
This resource installs Kibana 5 binaries.
Attributes
Attribute | Description | Type | Default |
---|---|---|---|
name |
Simply name. Currently not used. | String | |
version |
Version of Kibana. 5.2.0 and above are supported. | String | 5.6.11 |
install_method |
Installation method. Currently only release is supported. This means installation from official binaries provided by Elastic. |
String | release |
base_dir |
Base directory for Kibana binaries. | String | /opt/kibana |
svc_user |
Kibana daemon user. | String | kibana |
svc_group |
Kibana daemon group. | String | kibana |
kibana5_configure
This resource configures Kibana daemon and main configuration file.
Attributes
Attribute | Description | Type | Default |
---|---|---|---|
svc_name |
Name of the daemon | String | |
svc_user |
Kibana daemon user. | String | kibana |
svc_group |
Kibana daemon group. | String | kibana |
configuration |
Hash with configuration file values. See examples. | Hash | |
template_cookbook |
Override template from other cookbook. | String | kibana5 |
examples of configuration hashes:
{ 'server.port' => 5601, 'server.host' => 'localhost', 'elasticsearch.url' => 'http://localhost:9200', }
{ 'server.port' => 5601, 'server.host' => 'localhost', 'server.name' => 'My-Kibana', 'elasticsearch.url' => 'http://localhost:9200', 'logging.dest' => '/var/log/kibana.log', 'logging.verbose' => 'true', 'elasticsearch.requestHeadersWhitelist' => '[ authorization ]', }
Usage
It is recommended to use resources directly.
Examples
You may see examples in fixture cookbook:
[test/fixtures/kibana5-test/recipes/default.rb](test/fixtures/kibana5-test/recipes/default.rb)
[test/fixtures/kibana5-test/recipes/nginx.rb](test/fixtures/kibana5-test/recipes/nginx.rb)
Authors
- Author:: Azat Khadiev (anuriq@gmail.com)
Dependent cookbooks
ark >= 0.0.0 |
systemd >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
1.6.1 (17 September, 2018)
- Add versions up to 6.3.0 of Kibana;
- Fix systemd description property error;
- Add xpack security flag in Kibana.yml;
1.6.0 (4 May, 2018)
- kibana-plugins are executed from service user
- allow newest version of
systemd
cookbook - fix an issue with helpers for Chef 14
- rename kitchen.docker.yml to dokken and make it a default testing suite
- fix issues to make Travis CI builds work
1.5.0 (26 Feb, 2018)
- Fix style according to newest Cookstyle and FoodCritic;
- Use CentOS 7.4 for testing;
- Set 5.6.8 as default version of Kibana.
1.4.0 (8 Feb, 2018)
- Add plugin resource;
1.3.2 (8 Feb, 2018)
- Add version 5.6.7 of Kibana;
1.3.1 (November 27, 2017)
- Add option to use custom configuration template from wrapper cookbook;
1.3.0 (October 16, 2017)
- Add version 5.6.2 of Kibana;
1.2.0 (August 20, 2017)
- Add version 5.5.2 of Kibana;
- Avoid version 3.0 of
systemd
cookbook till it stabilizes.
1.1.2 (July 12, 2017)
- Add reload setting for systemd unit configuration (@kazjote);
- Fix according to the newest
foodcritic
.
1.1.1 (June 20, 2017)
- Fix use of attributes for default values of resources.
1.1.0 (June 8, 2017)
- Rethink versions and urls placement, move them to helpers instead of attributes;
- Add some default attributes to simplify configuration control;
- Remove redundant tests to simplify contributing;
- Add support for Kibana
5.4.1
and set default version to5.4.1
.
1.0.1 (May 8, 2017)
- Add support for Kibana
5.4.0
. - Set default version of Kibana to
5.4.0
.
1.0.0 (April 7, 2017)
- Set default version of Kibana to
5.3.0
. - Change home dir for
kibana
user, this won't run on nodes converged with previous versions, that's why major version is incremented. - Add Ubuntu 16.04 for CI testing suites.
- Configure Travis to ensure CI.
0.2.2 (March 9, 2017)
- Set default version of Kibana to 5.2.2
- Add some default attributes
0.2.1 (February 17, 2017)
- Set default version of Kibana to 5.2.1
0.2.0 (February 14, 2017)
- Initial cookbook. See README.
Collaborator Number Metric
1.6.1 passed this metric
Contributing File Metric
1.6.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
1.6.1 passed this metric
No Binaries Metric
1.6.1 passed this metric
Testing File Metric
1.6.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
1.6.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
1.6.1 passed this metric
1.6.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
1.6.1 passed this metric
No Binaries Metric
1.6.1 passed this metric
Testing File Metric
1.6.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
1.6.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
1.6.1 passed this metric
1.6.1 passed this metric
Testing File Metric
1.6.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
1.6.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
1.6.1 failed this metric
1.6.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number