cookbook 'topbeat', '= 0.1.0'
topbeat (6) Versions 0.1.0 Follow4
Installs/Configures Elastic Topbeat
cookbook 'topbeat', '= 0.1.0', :supermarket
knife supermarket install topbeat
knife supermarket download topbeat
topbeat Cookbook
This is a Chef cookbook to manage Topbeat.
Repository
https://github.com/vkhatri/chef-topbeat
Supported OS
This cookbook was tested on Amazon and expected to work on other RHEL platforms. Cookbook is expected to work on Ubuntu, but have not tested yet.
Recipes
topbeat::default
- default recipe (use it for run_list)topbeat::install
- install topbeattopbeat::config
- configure topbeat
Core Attributes
default['topbeat']['version']
(default:1.0.0-beta3
): topbeat versiondefault['topbeat']['package_url']
(default:calculated
): package download urldefault['topbeat']['packages']
(default:[]
): package dependenciesdefault['topbeat']['conf_dir']
(default:/etc/topbeat
): topbeat yaml configuration file directorydefault['topbeat']['conf_file']
(default:/etc/topbeat/topbeat.yml
): topbeat configuration filedefault['topbeat']['notify_restart']
(default:true
): whether to restart topbeat service on configuration file changedefault['topbeat']['disable_service']
(default:false
): whether to stop and disable topbeat service, useful for maintenance mode
Configuration File topbeat.yml Attributes
default['topbeat']['config']['input']['period']
(default:10
): topbeat statistics collection intervaldefault['topbeat']['config']['input']['period']
(default:10
): topbeat procs to collect statisticsdefault['topbeat']['config']['output']['elasticsearch']['enabled']
(default:true
):default['topbeat']['config']['output']['elasticsearch']['hosts']
(default:[]
)::false
):default['topbeat']['config']['output']['redis']['enabled']
(default:false
):default['topbeat']['config']['output']['redis']['host']
(default:127.0.0.1
):default['topbeat']['config']['output']['redis']['port']
(default:6379
):default['topbeat']['config']['output']['file']['enabled']
(default:false
):default['topbeat']['config']['output']['file']['path']
(default:/tmp/topbeat
):default['topbeat']['config']['output']['file']['filename']
(default:topbeat
):default['topbeat']['config']['output']['file']['rotate_every_kb']
(default:1000
):default['topbeat']['config']['output']['file']['number_of_files']
(default:7
):
For more attribute info, visit below link:
https://github.com/elastic/topbeat/blob/master/etc/topbeat.yml
Contributing
- Fork the repository on Github
- Create a named feature branch (like
add_component_x
) - Write your change
- Write tests for your change (if applicable)
- Run the tests (
rake & rake knife
), ensuring they all pass - Write new resource/attribute description to
README.md
- Write description about changes to PR
- Submit a Pull Request using Github
Copyright & License
Authors:: Virender Khatri and Contributors
<pre>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
</pre>
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
topbeat CHANGELOG
This file is used to list changes made in each version of the topbeat cookbook.
0.1.0
- Virender Khatri - Initial release of topbeat
Check the Markdown Syntax Guide for help with Markdown.
The Github Flavored Markdown page describes the differences between markdown on github and standard markdown.
Foodcritic Metric
0.1.0 passed this metric
0.1.0 passed this metric