AIT-CyberRange: Installs and configures logstash.
- Debian or Ubuntu
- opensearch
xms_value: 2
xmx_value: 2
logstash_version: 8.15.1
logstash_deb_url: https://artifacts.elastic.co/downloads/logstash/logstash-{{ logstash_version }}-amd64.deb
logstash_beats_port: 5044
logstash_plugins:
- logstash-output-opensearch
- logstash-input-beats
logstash_config_tmpl: templates/logstash.conf.j2
logstash_config_files:
- "{{ logstash_config_tmpl }}"
logstash_inputs_config: |
beats {
port => {{ logstash_beats_port }}
}
logstash_filters_config: ""
logstash_outputs_config: ""
- hosts: all
roles:
- logstash
vars:
logstash_outputs_config: |
elasticsearch {
hosts => "{{ logstash_elasticsearch_host }}"
index => "%{[@metadata][beat]}-%{[@metadata][version]}-%{+YYYY.MM.dd}"
}
GPL-3.0
- Lenhard Reuter