Install and configure filebeat.
See the full Salt Formulas installation and usage instructions.
- filebeat.install
- filebeat.config
- filebeat.service
Installs the filebeat package.
configures filebeat, and installs rc levels for startup on reboot.
See pillar.example for example configuration.
This formula puts some system specific configuration in map.jinja. the may be overridden in your pillar data like so:
filebeat:
lookup:
config_source: salt://mycustom/filebeat/filebeat.jinja
Starts the filebeat service.
Due to filebeat requiring tty to start, this state uses a SSH loopback to achieve this. (use_vt / sudoers !requiretty did not resolve this on 2015.8.x...)