ansible-roles/logstash
Mathieu Trossevin 956ecd4700
Replace the include module with include_tasks or import_tasks
The behaviour of the `include` module is badly defined (it try to choose
between statically importing the tasks and dynamically including them)
and can cause problems depending on any number of constraints (mostly if
it choose the wrong behaviour).

Replace it with the `import_tasks` (always statically import tasks) unless
the `include` is in a loop in which case we replace it with
`include_tasks` (always dynamically include tasks).
2022-03-30 16:40:44 +02:00
..
defaults logstash: logging to syslog is configurable (default: True) 2021-09-21 14:43:58 +02:00
files Add Elastic GPG key to kibana, filebeat, logstash, metricbeat roles 2021-05-25 15:10:04 +02:00
handlers logstash: logging to syslog is configurable (default: True) 2021-09-21 14:43:58 +02:00
meta logstash: no more dependency on Java 2021-09-21 14:43:58 +02:00
tasks Replace the include module with include_tasks or import_tasks 2022-03-30 16:40:44 +02:00
templates logstash: daily job for log rotation 2017-11-14 11:07:13 +01:00
README.md JVM Heap size configurable for Elasticsearch 2016-12-21 16:12:26 +01:00

logstash

Install Logstash.

Tasks

Everything is in the tasks/main.yml file.

Variables

  • logstash_jvm_xms: minimum heap size reserved for the JVM (defaults to 256m).
  • logstash_jvm_xmx: maximum heap size reserved for the JVM (defaults to 1g).

The pipeline must be configured before starting Logstash. https://www.elastic.co/guide/en/logstash/5.0/index.html