https://github.com/jradtilbrook/ansible-role-metricbeat
Ansible Metricbeat (5.x) role for the Elastic Stack
https://github.com/jradtilbrook/ansible-role-metricbeat
ansible beats elasticsearch elasticstack elk logging metricbeat metrics
Last synced: 10 days ago
JSON representation
Ansible Metricbeat (5.x) role for the Elastic Stack
- Host: GitHub
- URL: https://github.com/jradtilbrook/ansible-role-metricbeat
- Owner: jradtilbrook
- License: mit
- Created: 2017-02-22T04:29:45.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-11-01T14:00:41.000Z (almost 8 years ago)
- Last Synced: 2025-04-19T12:13:42.250Z (6 months ago)
- Topics: ansible, beats, elasticsearch, elasticstack, elk, logging, metricbeat, metrics
- Homepage: https://galaxy.ansible.com/jradtilbrook/metricbeat/
- Size: 6.84 KB
- Stars: 3
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Ansible Role: Metricbeat [](https://travis-ci.org/jradtilbrook/ansible-role-metricbeat)
This role installs and configures Metricbeat 5.x for the Elastic stack.
It has only been designed to work on Ubuntu 16.04, but other Debian flavours
should also work.## Requirements
None.
## Role Variables
`metricbeat_modules` is a list containing the configuration for each module
Metricbeat should collect data on. See the Metricbeat documentation for the
structure of each list element.`metricbeat_output` is a dictionary of outputs to send events to. See the
Metricbeat documentation for the structure and possible outputs.`metricbeat_general_config` is the general global configuration of Metricbeat. Eg.
the name, extra fields or tags to apply to each event. More info can be found in
the Metricbeat documentation.`metricbeat_install_state`: This is useful for updating Metricbeat to newer
versions after it has already been installed. Use `latest` to achieve this
functionality.## Resources
Documentation related to Metricbeat can be found at the links below:
- [documentation](https://www.elastic.co/guide/en/beats/metricbeat/current/metricbeat-overview.html)
## Dependencies
None.
Check out my other roles on [Ansible Galaxy](https://galaxy.ansible.com/jradtilbrook)
if you are installing the entire Elastic Stack.## Example Playbook
```yaml
- hosts: servers
become: yesroles:
- role: jradtilbrook.metricbeat
```## License
MIT