mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-04-25 05:57:49 +02:00
Logstash Module - Fix jinja syntax
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
{%- if grains['role'] != 'so-master' %}
|
||||
{%- set ES = salt['pillar.get']('node:mainip', '') %}
|
||||
{%- if grains['role'] != 'so-master' -%}
|
||||
{%- set ES = salt['pillar.get']('node:mainip', '') -%}
|
||||
# Author: Justin Henderson
|
||||
# SANS Instructor and author of SANS SEC555: SIEM and Tactical Analytics
|
||||
# Email: justin@hasecuritysolution.com
|
||||
@@ -16,7 +16,7 @@ output {
|
||||
if [event_type] == "iis" and "test_data" not in [tags] {
|
||||
#stdout { codec => rubydebug }
|
||||
elasticsearch {
|
||||
hosts => {{ ES }}
|
||||
hosts => "{{ ES }}"
|
||||
template => "/logstash-template.json"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user