mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Merge pull request #1506 from Security-Onion-Solutions/fix/index_dates
Fix/index dates
This commit is contained in:
@@ -82,7 +82,7 @@ filebeat.inputs:
|
||||
module: syslog
|
||||
dataset: syslog
|
||||
pipeline: "syslog"
|
||||
index: "so-syslog-%{+yyyy.MM.dd}"
|
||||
index: "so-syslog"
|
||||
processors:
|
||||
- drop_fields:
|
||||
fields: ["source", "prospector", "input", "offset", "beat"]
|
||||
@@ -95,7 +95,7 @@ filebeat.inputs:
|
||||
module: syslog
|
||||
dataset: syslog
|
||||
pipeline: "syslog"
|
||||
index: "so-syslog-%{+yyyy.MM.dd}"
|
||||
index: "so-syslog"
|
||||
processors:
|
||||
- drop_fields:
|
||||
fields: ["source", "prospector", "input", "offset", "beat"]
|
||||
@@ -259,22 +259,22 @@ output.elasticsearch:
|
||||
pipelines:
|
||||
- pipeline: "%{[module]}.%{[dataset]}"
|
||||
indices:
|
||||
- index: "so-import-%{+yyyy.MM.dd}"
|
||||
- index: "so-import"
|
||||
when.contains:
|
||||
tags: "import"
|
||||
- index: "so-zeek-%{+yyyy.MM.dd}"
|
||||
- index: "so-zeek"
|
||||
when.contains:
|
||||
module: "zeek"
|
||||
- index: "so-ids-%{+yyyy.MM.dd}"
|
||||
- index: "so-ids"
|
||||
when.contains:
|
||||
module: "suricata"
|
||||
- index: "so-ossec-%{+yyyy.MM.dd}"
|
||||
- index: "so-ossec"
|
||||
when.contains:
|
||||
module: "ossec"
|
||||
- index: "so-osquery-%{+yyyy.MM.dd}"
|
||||
- index: "so-osquery"
|
||||
when.contains:
|
||||
module: "osquery"
|
||||
- index: "so-strelka-%{+yyyy.MM.dd}"
|
||||
- index: "so-strelka"
|
||||
when.contains:
|
||||
module: "strelka"
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ output {
|
||||
elasticsearch {
|
||||
pipeline => "%{module}.%{dataset}"
|
||||
hosts => "{{ ES }}"
|
||||
index => "so-zeek-%{+YYYY.MM.dd}"
|
||||
index => "so-zeek"
|
||||
template_name => "so-zeek"
|
||||
template => "/templates/so-zeek-template.json"
|
||||
template_overwrite => true
|
||||
|
||||
@@ -9,7 +9,7 @@ output {
|
||||
elasticsearch {
|
||||
pipeline => "%{module}.%{dataset}"
|
||||
hosts => "{{ ES }}"
|
||||
index => "so-import-%{+YYYY.MM.dd}"
|
||||
index => "so-import"
|
||||
template_name => "so-import"
|
||||
template => "/templates/so-import-template.json"
|
||||
template_overwrite => true
|
||||
|
||||
@@ -8,7 +8,7 @@ output {
|
||||
if [event_type] == "sflow" {
|
||||
elasticsearch {
|
||||
hosts => "{{ ES }}"
|
||||
index => "so-flow-%{+YYYY.MM.dd}"
|
||||
index => "so-flow"
|
||||
template_name => "so-flow"
|
||||
template => "/templates/so-flow-template.json"
|
||||
template_overwrite => true
|
||||
|
||||
@@ -8,7 +8,7 @@ output {
|
||||
if [event_type] == "ids" and "import" not in [tags] {
|
||||
elasticsearch {
|
||||
hosts => "{{ ES }}"
|
||||
index => "so-ids-%{+YYYY.MM.dd}"
|
||||
index => "so-ids"
|
||||
template_name => "so-ids"
|
||||
template => "/templates/so-ids-template.json"
|
||||
template_overwrite => true
|
||||
|
||||
@@ -9,7 +9,7 @@ output {
|
||||
elasticsearch {
|
||||
pipeline => "%{module}"
|
||||
hosts => "{{ ES }}"
|
||||
index => "so-syslog-%{+YYYY.MM.dd}"
|
||||
index => "so-syslog"
|
||||
template_name => "so-syslog"
|
||||
template => "/templates/so-syslog-template.json"
|
||||
template_overwrite => true
|
||||
|
||||
@@ -9,7 +9,7 @@ output {
|
||||
elasticsearch {
|
||||
pipeline => "%{module}.%{dataset}"
|
||||
hosts => "{{ ES }}"
|
||||
index => "so-osquery-%{+YYYY.MM.dd}"
|
||||
index => "so-osquery"
|
||||
template_name => "so-osquery"
|
||||
template => "/templates/so-osquery-template.json"
|
||||
template_overwrite => true
|
||||
|
||||
@@ -8,7 +8,7 @@ output {
|
||||
if [dataset] =~ "firewall" {
|
||||
elasticsearch {
|
||||
hosts => "{{ ES }}"
|
||||
index => "so-firewall-%{+YYYY.MM.dd}"
|
||||
index => "so-firewall"
|
||||
template_name => "so-firewall"
|
||||
template => "/templates/so-firewall-template.json"
|
||||
template_overwrite => true
|
||||
|
||||
@@ -9,7 +9,7 @@ output {
|
||||
elasticsearch {
|
||||
pipeline => "%{module}.%{dataset}"
|
||||
hosts => "{{ ES }}"
|
||||
index => "so-ids-%{+YYYY.MM.dd}"
|
||||
index => "so-ids"
|
||||
template_name => "so-ids"
|
||||
template => "/templates/so-ids-template.json"
|
||||
{%- if grains['role'] in ['so-node','so-heavynode'] %}
|
||||
|
||||
@@ -9,7 +9,7 @@ output {
|
||||
elasticsearch {
|
||||
pipeline => "beats.common"
|
||||
hosts => "{{ ES }}"
|
||||
index => "so-beats-%{+YYYY.MM.dd}"
|
||||
index => "so-beats"
|
||||
template_name => "so-beats"
|
||||
template => "/templates/so-beats-template.json"
|
||||
template_overwrite => true
|
||||
|
||||
@@ -9,7 +9,7 @@ output {
|
||||
elasticsearch {
|
||||
pipeline => "%{module}"
|
||||
hosts => "{{ ES }}"
|
||||
index => "so-ossec-%{+YYYY.MM.dd}"
|
||||
index => "so-ossec"
|
||||
template_name => "so-ossec"
|
||||
template => "/templates/so-ossec-template.json"
|
||||
template_overwrite => true
|
||||
|
||||
@@ -9,7 +9,7 @@ output {
|
||||
elasticsearch {
|
||||
pipeline => "%{module}.%{dataset}"
|
||||
hosts => "{{ ES }}"
|
||||
index => "so-strelka-%{+YYYY.MM.dd}"
|
||||
index => "so-strelka"
|
||||
template_name => "so-strelka"
|
||||
template => "/templates/so-strelka-template.json"
|
||||
template_overwrite => true
|
||||
|
||||
Reference in New Issue
Block a user