mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-19 15:33:06 +01:00
Don't predefine index date for Logstash outputs
This commit is contained in:
@@ -9,7 +9,7 @@ output {
|
|||||||
elasticsearch {
|
elasticsearch {
|
||||||
pipeline => "%{module}.%{dataset}"
|
pipeline => "%{module}.%{dataset}"
|
||||||
hosts => "{{ ES }}"
|
hosts => "{{ ES }}"
|
||||||
index => "so-zeek-%{+YYYY.MM.dd}"
|
index => "so-zeek"
|
||||||
template_name => "so-zeek"
|
template_name => "so-zeek"
|
||||||
template => "/templates/so-zeek-template.json"
|
template => "/templates/so-zeek-template.json"
|
||||||
template_overwrite => true
|
template_overwrite => true
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ output {
|
|||||||
elasticsearch {
|
elasticsearch {
|
||||||
pipeline => "%{module}.%{dataset}"
|
pipeline => "%{module}.%{dataset}"
|
||||||
hosts => "{{ ES }}"
|
hosts => "{{ ES }}"
|
||||||
index => "so-import-%{+YYYY.MM.dd}"
|
index => "so-import"
|
||||||
template_name => "so-import"
|
template_name => "so-import"
|
||||||
template => "/templates/so-import-template.json"
|
template => "/templates/so-import-template.json"
|
||||||
template_overwrite => true
|
template_overwrite => true
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ output {
|
|||||||
if [event_type] == "sflow" {
|
if [event_type] == "sflow" {
|
||||||
elasticsearch {
|
elasticsearch {
|
||||||
hosts => "{{ ES }}"
|
hosts => "{{ ES }}"
|
||||||
index => "so-flow-%{+YYYY.MM.dd}"
|
index => "so-flow"
|
||||||
template_name => "so-flow"
|
template_name => "so-flow"
|
||||||
template => "/templates/so-flow-template.json"
|
template => "/templates/so-flow-template.json"
|
||||||
template_overwrite => true
|
template_overwrite => true
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ output {
|
|||||||
if [event_type] == "ids" and "import" not in [tags] {
|
if [event_type] == "ids" and "import" not in [tags] {
|
||||||
elasticsearch {
|
elasticsearch {
|
||||||
hosts => "{{ ES }}"
|
hosts => "{{ ES }}"
|
||||||
index => "so-ids-%{+YYYY.MM.dd}"
|
index => "so-ids"
|
||||||
template_name => "so-ids"
|
template_name => "so-ids"
|
||||||
template => "/templates/so-ids-template.json"
|
template => "/templates/so-ids-template.json"
|
||||||
template_overwrite => true
|
template_overwrite => true
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ output {
|
|||||||
elasticsearch {
|
elasticsearch {
|
||||||
pipeline => "%{module}"
|
pipeline => "%{module}"
|
||||||
hosts => "{{ ES }}"
|
hosts => "{{ ES }}"
|
||||||
index => "so-syslog-%{+YYYY.MM.dd}"
|
index => "so-syslog"
|
||||||
template_name => "so-syslog"
|
template_name => "so-syslog"
|
||||||
template => "/templates/so-syslog-template.json"
|
template => "/templates/so-syslog-template.json"
|
||||||
template_overwrite => true
|
template_overwrite => true
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ output {
|
|||||||
elasticsearch {
|
elasticsearch {
|
||||||
pipeline => "%{module}.%{dataset}"
|
pipeline => "%{module}.%{dataset}"
|
||||||
hosts => "{{ ES }}"
|
hosts => "{{ ES }}"
|
||||||
index => "so-osquery-%{+YYYY.MM.dd}"
|
index => "so-osquery"
|
||||||
template_name => "so-osquery"
|
template_name => "so-osquery"
|
||||||
template => "/templates/so-osquery-template.json"
|
template => "/templates/so-osquery-template.json"
|
||||||
template_overwrite => true
|
template_overwrite => true
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ output {
|
|||||||
if [dataset] =~ "firewall" {
|
if [dataset] =~ "firewall" {
|
||||||
elasticsearch {
|
elasticsearch {
|
||||||
hosts => "{{ ES }}"
|
hosts => "{{ ES }}"
|
||||||
index => "so-firewall-%{+YYYY.MM.dd}"
|
index => "so-firewall"
|
||||||
template_name => "so-firewall"
|
template_name => "so-firewall"
|
||||||
template => "/templates/so-firewall-template.json"
|
template => "/templates/so-firewall-template.json"
|
||||||
template_overwrite => true
|
template_overwrite => true
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ output {
|
|||||||
elasticsearch {
|
elasticsearch {
|
||||||
pipeline => "%{module}.%{dataset}"
|
pipeline => "%{module}.%{dataset}"
|
||||||
hosts => "{{ ES }}"
|
hosts => "{{ ES }}"
|
||||||
index => "so-ids-%{+YYYY.MM.dd}"
|
index => "so-ids"
|
||||||
template_name => "so-ids"
|
template_name => "so-ids"
|
||||||
template => "/templates/so-ids-template.json"
|
template => "/templates/so-ids-template.json"
|
||||||
{%- if grains['role'] in ['so-node','so-heavynode'] %}
|
{%- if grains['role'] in ['so-node','so-heavynode'] %}
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ output {
|
|||||||
elasticsearch {
|
elasticsearch {
|
||||||
pipeline => "beats.common"
|
pipeline => "beats.common"
|
||||||
hosts => "{{ ES }}"
|
hosts => "{{ ES }}"
|
||||||
index => "so-beats-%{+YYYY.MM.dd}"
|
index => "so-beats"
|
||||||
template_name => "so-beats"
|
template_name => "so-beats"
|
||||||
template => "/templates/so-beats-template.json"
|
template => "/templates/so-beats-template.json"
|
||||||
template_overwrite => true
|
template_overwrite => true
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ output {
|
|||||||
elasticsearch {
|
elasticsearch {
|
||||||
pipeline => "%{module}"
|
pipeline => "%{module}"
|
||||||
hosts => "{{ ES }}"
|
hosts => "{{ ES }}"
|
||||||
index => "so-ossec-%{+YYYY.MM.dd}"
|
index => "so-ossec"
|
||||||
template_name => "so-ossec"
|
template_name => "so-ossec"
|
||||||
template => "/templates/so-ossec-template.json"
|
template => "/templates/so-ossec-template.json"
|
||||||
template_overwrite => true
|
template_overwrite => true
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ output {
|
|||||||
elasticsearch {
|
elasticsearch {
|
||||||
pipeline => "%{module}.%{dataset}"
|
pipeline => "%{module}.%{dataset}"
|
||||||
hosts => "{{ ES }}"
|
hosts => "{{ ES }}"
|
||||||
index => "so-strelka-%{+YYYY.MM.dd}"
|
index => "so-strelka"
|
||||||
template_name => "so-strelka"
|
template_name => "so-strelka"
|
||||||
template => "/templates/so-strelka-template.json"
|
template => "/templates/so-strelka-template.json"
|
||||||
template_overwrite => true
|
template_overwrite => true
|
||||||
|
|||||||
Reference in New Issue
Block a user