mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-10 03:02:58 +01:00
25 lines
554 B
Plaintext
25 lines
554 B
Plaintext
{%- if grains['role'] != 'so-master' %}
|
|
{%- set ES = salt['pillar.get']('mainip', '') %}
|
|
# Author: Justin Henderson
|
|
# SANS Instructor and author of SANS SEC555: SIEM and Tactical Analytics
|
|
# Email: justin@hasecuritysolution.com
|
|
# Last Update: 12/9/2016
|
|
|
|
filter {
|
|
if "test_data" in [tags] {
|
|
mutate {
|
|
#add_tag => [ "conf_file_9998"]
|
|
}
|
|
}
|
|
}
|
|
output {
|
|
if "test_data" in [tags] {
|
|
elasticsearch {
|
|
hosts => {{ ES }}
|
|
index => "logstash-test-%{+YYYY.MM.dd}"
|
|
template => "/logstash-template.json"
|
|
}
|
|
}
|
|
}
|
|
{%- endif %}
|