mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Update OSSEC output
This commit is contained in:
@@ -9,7 +9,7 @@
|
|||||||
# Last Update: 9/19/2018
|
# Last Update: 9/19/2018
|
||||||
|
|
||||||
filter {
|
filter {
|
||||||
if [event_type] =~ "ossec" {
|
if [module] =~ "ossec" {
|
||||||
mutate {
|
mutate {
|
||||||
##add_tag => [ "conf_file_9600"]
|
##add_tag => [ "conf_file_9600"]
|
||||||
}
|
}
|
||||||
@@ -17,9 +17,9 @@ filter {
|
|||||||
}
|
}
|
||||||
|
|
||||||
output {
|
output {
|
||||||
if [event_type] =~ "ossec" or "ossec" in [tags] {
|
if [module] =~ "ossec" {
|
||||||
elasticsearch {
|
elasticsearch {
|
||||||
pipeline => "%{event_type}"
|
pipeline => "%{module}.%{dataset}"
|
||||||
hosts => "{{ ES }}"
|
hosts => "{{ ES }}"
|
||||||
index => "so-ossec-%{+YYYY.MM.dd}"
|
index => "so-ossec-%{+YYYY.MM.dd}"
|
||||||
template_name => "so-common"
|
template_name => "so-common"
|
||||||
|
|||||||
Reference in New Issue
Block a user