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
|
module: syslog
|
||||||
dataset: syslog
|
dataset: syslog
|
||||||
pipeline: "syslog"
|
pipeline: "syslog"
|
||||||
index: "so-syslog-%{+yyyy.MM.dd}"
|
index: "so-syslog"
|
||||||
processors:
|
processors:
|
||||||
- drop_fields:
|
- drop_fields:
|
||||||
fields: ["source", "prospector", "input", "offset", "beat"]
|
fields: ["source", "prospector", "input", "offset", "beat"]
|
||||||
@@ -95,7 +95,7 @@ filebeat.inputs:
|
|||||||
module: syslog
|
module: syslog
|
||||||
dataset: syslog
|
dataset: syslog
|
||||||
pipeline: "syslog"
|
pipeline: "syslog"
|
||||||
index: "so-syslog-%{+yyyy.MM.dd}"
|
index: "so-syslog"
|
||||||
processors:
|
processors:
|
||||||
- drop_fields:
|
- drop_fields:
|
||||||
fields: ["source", "prospector", "input", "offset", "beat"]
|
fields: ["source", "prospector", "input", "offset", "beat"]
|
||||||
@@ -259,22 +259,22 @@ output.elasticsearch:
|
|||||||
pipelines:
|
pipelines:
|
||||||
- pipeline: "%{[module]}.%{[dataset]}"
|
- pipeline: "%{[module]}.%{[dataset]}"
|
||||||
indices:
|
indices:
|
||||||
- index: "so-import-%{+yyyy.MM.dd}"
|
- index: "so-import"
|
||||||
when.contains:
|
when.contains:
|
||||||
tags: "import"
|
tags: "import"
|
||||||
- index: "so-zeek-%{+yyyy.MM.dd}"
|
- index: "so-zeek"
|
||||||
when.contains:
|
when.contains:
|
||||||
module: "zeek"
|
module: "zeek"
|
||||||
- index: "so-ids-%{+yyyy.MM.dd}"
|
- index: "so-ids"
|
||||||
when.contains:
|
when.contains:
|
||||||
module: "suricata"
|
module: "suricata"
|
||||||
- index: "so-ossec-%{+yyyy.MM.dd}"
|
- index: "so-ossec"
|
||||||
when.contains:
|
when.contains:
|
||||||
module: "ossec"
|
module: "ossec"
|
||||||
- index: "so-osquery-%{+yyyy.MM.dd}"
|
- index: "so-osquery"
|
||||||
when.contains:
|
when.contains:
|
||||||
module: "osquery"
|
module: "osquery"
|
||||||
- index: "so-strelka-%{+yyyy.MM.dd}"
|
- index: "so-strelka"
|
||||||
when.contains:
|
when.contains:
|
||||||
module: "strelka"
|
module: "strelka"
|
||||||
|
|
||||||
|
|||||||
@@ -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