mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-10 11:12:51 +01:00
Update Zeek and Strelka
This commit is contained in:
@@ -10,17 +10,16 @@
|
|||||||
|
|
||||||
|
|
||||||
filter {
|
filter {
|
||||||
if "zeek" in [tags] and "test_data" not in [tags] and "import" not in [tags] {
|
if [module] =~ "zeek" {
|
||||||
mutate {
|
mutate {
|
||||||
##add_tag => [ "conf_file_9000"]
|
##add_tag => [ "conf_file_9000"]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
output {
|
output {
|
||||||
if "zeek" in [tags] and "test_data" not in [tags] and "import" not in [tags] {
|
if [module] =~ "zeek" {
|
||||||
# stdout { codec => rubydebug }
|
|
||||||
elasticsearch {
|
elasticsearch {
|
||||||
pipeline => "%{event_type}"
|
pipeline => "%{module}.%{dataset}"
|
||||||
hosts => "{{ ES }}"
|
hosts => "{{ ES }}"
|
||||||
index => "so-zeek-%{+YYYY.MM.dd}"
|
index => "so-zeek-%{+YYYY.MM.dd}"
|
||||||
template_name => "so-zeek"
|
template_name => "so-zeek"
|
||||||
@@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
|
|
||||||
filter {
|
filter {
|
||||||
if [event_type] =~ "strelka" {
|
if [module] =~ "strelka" {
|
||||||
mutate {
|
mutate {
|
||||||
##add_tag => [ "conf_file_9000"]
|
##add_tag => [ "conf_file_9000"]
|
||||||
}
|
}
|
||||||
@@ -19,6 +19,7 @@ filter {
|
|||||||
output {
|
output {
|
||||||
if [event_type] =~ "strelka" {
|
if [event_type] =~ "strelka" {
|
||||||
elasticsearch {
|
elasticsearch {
|
||||||
|
pipeline => "%{module}.%{dataset}"
|
||||||
hosts => "{{ ES }}"
|
hosts => "{{ ES }}"
|
||||||
index => "so-strelka-%{+YYYY.MM.dd}"
|
index => "so-strelka-%{+YYYY.MM.dd}"
|
||||||
template_name => "so-common"
|
template_name => "so-common"
|
||||||
|
|||||||
Reference in New Issue
Block a user