mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Revert to SO taxonomy for zeek and suricata
This commit is contained in:
@@ -4,13 +4,15 @@
|
|||||||
{%- set ES = salt['pillar.get']('elasticsearch:mainip', '') -%}
|
{%- set ES = salt['pillar.get']('elasticsearch:mainip', '') -%}
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
output {
|
output {
|
||||||
if [module] =~ "suricata" and "import" not in [tags] {
|
if [event][module] == 'elasticsearch' {
|
||||||
elasticsearch {
|
elasticsearch {
|
||||||
pipeline => "%{module}.%{dataset}"
|
id => "elastic_logs"
|
||||||
|
pipeline => "filebeat-%{[agent][version]}-elasticsearch-%{[fileset][name]}-pipeline"
|
||||||
hosts => "{{ ES }}"
|
hosts => "{{ ES }}"
|
||||||
index => "so-ids"
|
index => "so-grid-%{+YYYY.MM.dd}"
|
||||||
template_name => "so-ids"
|
template_name => "so-common"
|
||||||
template => "/templates/so-ids-template.json"
|
template => "/templates/so-common-template.json"
|
||||||
|
template_overwrite => true
|
||||||
ssl => true
|
ssl => true
|
||||||
ssl_certificate_verification => false
|
ssl_certificate_verification => false
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,12 +4,12 @@
|
|||||||
{%- set ES = salt['pillar.get']('elasticsearch:mainip', '') -%}
|
{%- set ES = salt['pillar.get']('elasticsearch:mainip', '') -%}
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
output {
|
output {
|
||||||
if [event][module] =~ "suricata" and "import" not in [tags] {
|
if [module] =~ "suricata" and "import" not in [tags] {
|
||||||
elasticsearch {
|
elasticsearch {
|
||||||
pipeline => "filebeat-%{[agent][version]}-suricata-%{[fileset][name]}-pipeline"
|
pipeline => "%{module}.%{dataset}"
|
||||||
hosts => "{{ ES }}"
|
hosts => "{{ ES }}"
|
||||||
index => "so-ids"
|
index => "so-ids"
|
||||||
template_name => "so-ids-%{+YYYY.MM.dd}"
|
template_name => "so-ids"
|
||||||
template => "/templates/so-ids-template.json"
|
template => "/templates/so-ids-template.json"
|
||||||
ssl => true
|
ssl => true
|
||||||
ssl_certificate_verification => false
|
ssl_certificate_verification => false
|
||||||
|
|||||||
Reference in New Issue
Block a user