Install and configure logstash.
- java : logstash needs java to run. This role can handle java install for you. But you can also install it on your own.
Variable | Default | Description |
---|---|---|
logstash_pipelines | [] | List of logstash pipelines to deploy |
- remyma.elasticstack-root
- hosts: logstash-servers
roles:
- { role: ansible-elasticstack-logstash }
If you want to deploy pipelines on your logstash server, you can override logstash_pipelines variable. Place you pipelines .conf files under your ansible project in files/logstash/pipelines/ directory.
- hosts:
roles:
- { role: ansible-elasticstack-logstash }
vars:
logstash_pipelines:
- my-pipeline.conf
- second-pipeline.conf
BSD