Skip to content

MattiDeGrauwe/ansible-metricbeat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ansible-metricbeat

Build Status

Install and configure Elastic metricbeat.

Example Playbook

- hosts: servers
  roles:
    - MattiDeGrauwe.metricbeat
  vars: 
  	- beats_config_file: "path to configuration file"   	

Variables

For complete documentation on configuration options see the metricbeat, filebeat and packetbeat documentation.

  • beats_package_version (default "5.2.2") The package version of the beat.

  • beats_install (default true) Whether to install the beat.

  • beats_config_file (required) set url to the desired configuration file

Metricbeat comes packaged with a script that you can use to import the example dashboards, visualizations, and searches for Metricbeat. The script also creates an index pattern, metricbeat-*, for Metricbeat.

  • beats_dashboard_output_url (default "localhost:9200") Initializes the host where the output of the predefined dashboards should be generated.

Acknowledgements

This role is based on Jmatt's Ansible Galaxy role "beats". It is a more complete implementation and less opinionated than this role. But it doesn't support v5 or follow the variable naming convention my roles follow. Thus this new role.

License

The MIT License. See the LICENSE file.

About

Beats role for ansible

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published