mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
21 lines
427 B
Plaintext
21 lines
427 B
Plaintext
# Updated by: Doug Burks
|
|
# Last Update: 5/16/2017
|
|
|
|
filter {
|
|
if "import" in [tags] and "test_data" not in [tags] {
|
|
mutate {
|
|
##add_tag => [ "conf_file_9002"]
|
|
}
|
|
}
|
|
}
|
|
output {
|
|
if "import" in [tags] and "test_data" not in [tags] {
|
|
# stdout { codec => rubydebug }
|
|
elasticsearch {
|
|
hosts => elasticsearch
|
|
index => "logstash-import-%{+YYYY.MM.dd}"
|
|
template => "/logstash-template.json"
|
|
}
|
|
}
|
|
}
|