I have several servers those need to be installed with file beat .is there any shell /Ansible/some other way to install file beat on all Linux servers at once instead of manual intervention?
TIA
I have several servers those need to be installed with file beat .is there any shell /Ansible/some other way to install file beat on all Linux servers at once instead of manual intervention?
TIA
Hi @sk545. There isn't an Elastic-sanctioned way to do this at present, but if memory serves there are some unofficial Ansible Galaxy roles that can handle what you're looking for.
can you please provide any related docs/web link if possible ?
Hi @sk545, we do actually have an official Ansible role for beats: https://galaxy.ansible.com/elastic/beats
Here is a quick example of Ansible playbook to use it:
---
- hosts: localhost
roles:
- { role: "ansible-beats",
beat: "filebeat",
beat_conf: {
"filebeat": {"inputs":[{"paths":["/var/log/*.log"],"type":"log"}]}
}
}
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.