ansible-roles/logstash
Mathieu Trossevin 7c632352a0
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).
2023-01-03 14:43:42 +01:00
..
defaults Use proper keyrings directory for APT version 2022-11-02 23:16:32 +01:00
files Add Elastic GPG key to kibana, filebeat, logstash, metricbeat roles 2021-05-25 15:10:04 +02:00
handlers Use systemd module instead of command 2022-12-28 09:02:17 +01: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 2023-01-03 14:43:42 +01: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