mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-08 02:02:50 +01:00
Logstash Module - Clean up logic around master
This commit is contained in:
@@ -1,3 +1,4 @@
|
|||||||
|
{%- if grains['role'] != 'so-master' %}
|
||||||
{%- set ES = salt['pillar.get']('mainip'. '') %}
|
{%- set ES = salt['pillar.get']('mainip'. '') %}
|
||||||
# Author: Justin Henderson
|
# Author: Justin Henderson
|
||||||
# SANS Instructor and author of SANS SEC555: SIEM and Tactical Analytics
|
# SANS Instructor and author of SANS SEC555: SIEM and Tactical Analytics
|
||||||
@@ -24,3 +25,4 @@ output {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
{%- endif %}
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
{%- if grains['role'] != 'so-master' %}
|
||||||
{%- set ES = salt['pillar.get']('mainip'. '') %}
|
{%- set ES = salt['pillar.get']('mainip'. '') %}
|
||||||
# Author: Justin Henderson
|
# Author: Justin Henderson
|
||||||
# SANS Instructor and author of SANS SEC555: SIEM and Tactical Analytics
|
# SANS Instructor and author of SANS SEC555: SIEM and Tactical Analytics
|
||||||
@@ -21,3 +22,4 @@ output {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
{%- endif %}
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
{%- if grains['role'] != 'so-master' %}
|
||||||
{%- set ES = salt['pillar.get']('mainip'. '') %}
|
{%- set ES = salt['pillar.get']('mainip'. '') %}
|
||||||
# Updated by: Doug Burks
|
# Updated by: Doug Burks
|
||||||
# Last Update: 5/16/2017
|
# Last Update: 5/16/2017
|
||||||
@@ -21,3 +22,4 @@ output {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
{%- endif %}
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
{%- if grains['role'] != 'so-master' %}
|
||||||
{%- set ES = salt['pillar.get']('mainip'. '') %}
|
{%- set ES = salt['pillar.get']('mainip'. '') %}
|
||||||
# Author: Justin Henderson
|
# Author: Justin Henderson
|
||||||
# SANS Instructor and author of SANS SEC555: SIEM and Tactical Analytics
|
# SANS Instructor and author of SANS SEC555: SIEM and Tactical Analytics
|
||||||
@@ -21,3 +22,4 @@ output {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
{%- endif %}
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
{%- if grains['role'] != 'so-master' %}
|
||||||
{%- set ES = salt['pillar.get']('mainip'. '') %}
|
{%- set ES = salt['pillar.get']('mainip'. '') %}
|
||||||
# Author: Justin Henderson
|
# Author: Justin Henderson
|
||||||
# SANS Instructor and author of SANS SEC555: SIEM and Tactical Analytics
|
# SANS Instructor and author of SANS SEC555: SIEM and Tactical Analytics
|
||||||
@@ -20,3 +21,4 @@ output {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
{%- endif %}
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
{%- if grains['role'] != 'so-master' %}
|
||||||
{%- set ES = salt['pillar.get']('mainip'. '') %}
|
{%- set ES = salt['pillar.get']('mainip'. '') %}
|
||||||
# Author: Justin Henderson
|
# Author: Justin Henderson
|
||||||
# SANS Instructor and author of SANS SEC555: SIEM and Tactical Analytics
|
# SANS Instructor and author of SANS SEC555: SIEM and Tactical Analytics
|
||||||
@@ -19,3 +20,4 @@ output {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
{%- endif %}
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
{%- if grains['role'] != 'so-master' %}
|
||||||
{%- set ES = salt['pillar.get']('mainip'. '') %}
|
{%- set ES = salt['pillar.get']('mainip'. '') %}
|
||||||
# Author: Justin Henderson
|
# Author: Justin Henderson
|
||||||
# SANS Instructor and author of SANS SEC555: SIEM and Tactical Analytics
|
# SANS Instructor and author of SANS SEC555: SIEM and Tactical Analytics
|
||||||
@@ -19,3 +20,4 @@ output {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
{%- endif %}
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
{%- if grains['role'] != 'so-master' %}
|
||||||
{%- set ES = salt['pillar.get']('mainip'. '') %}
|
{%- set ES = salt['pillar.get']('mainip'. '') %}
|
||||||
# Author: Justin Henderson
|
# Author: Justin Henderson
|
||||||
# SANS Instructor and author of SANS SEC555: SIEM and Tactical Analytics
|
# SANS Instructor and author of SANS SEC555: SIEM and Tactical Analytics
|
||||||
@@ -20,3 +21,4 @@ output {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
{%- endif %}
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
{%- if grains['role'] != 'so-master' %}
|
||||||
{%- set ES = salt['pillar.get']('mainip'. '') %}
|
{%- set ES = salt['pillar.get']('mainip'. '') %}
|
||||||
# Author: Justin Henderson
|
# Author: Justin Henderson
|
||||||
# SANS Instructor and author of SANS SEC555: SIEM and Tactical Analytics
|
# SANS Instructor and author of SANS SEC555: SIEM and Tactical Analytics
|
||||||
@@ -20,3 +21,4 @@ output {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
{%- endif %}
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
{%- if grains['role'] != 'so-master' %}
|
||||||
{%- set ES = salt['pillar.get']('mainip'. '') %}
|
{%- set ES = salt['pillar.get']('mainip'. '') %}
|
||||||
# Author: Justin Henderson
|
# Author: Justin Henderson
|
||||||
# SANS Instructor and author of SANS SEC555: SIEM and Tactical Analytics
|
# SANS Instructor and author of SANS SEC555: SIEM and Tactical Analytics
|
||||||
@@ -23,3 +24,4 @@ output {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
{%- endif %}
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
{%- if grains['role'] != 'so-master' %}
|
||||||
{%- set ES = salt['pillar.get']('mainip'. '') %}
|
{%- set ES = salt['pillar.get']('mainip'. '') %}
|
||||||
# Author: Justin Henderson
|
# Author: Justin Henderson
|
||||||
# SANS Instructor and author of SANS SEC555: SIEM and Tactical Analytics
|
# SANS Instructor and author of SANS SEC555: SIEM and Tactical Analytics
|
||||||
@@ -22,3 +23,4 @@ output {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
{%- endif %}
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
{%- if grains['role'] != 'so-master' %}
|
||||||
{%- set ES = salt['pillar.get']('mainip'. '') %}
|
{%- set ES = salt['pillar.get']('mainip'. '') %}
|
||||||
# Author: Justin Henderson
|
# Author: Justin Henderson
|
||||||
# SANS Instructor and author of SANS SEC555: SIEM and Tactical Analytics
|
# SANS Instructor and author of SANS SEC555: SIEM and Tactical Analytics
|
||||||
@@ -23,3 +24,4 @@ output {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
{%- endif %}
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
{%- if grains['role'] != 'so-master' %}
|
||||||
{%- set ES = salt['pillar.get']('mainip'. '') %}
|
{%- set ES = salt['pillar.get']('mainip'. '') %}
|
||||||
# Author: Justin Henderson
|
# Author: Justin Henderson
|
||||||
# SANS Instructor and author of SANS SEC555: SIEM and Tactical Analytics
|
# SANS Instructor and author of SANS SEC555: SIEM and Tactical Analytics
|
||||||
@@ -21,3 +22,4 @@ output {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
{%- endif %}
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
{%- if grains['role'] != 'so-master' %}
|
||||||
{%- set ES = salt['pillar.get']('mainip'. '') %}
|
{%- set ES = salt['pillar.get']('mainip'. '') %}
|
||||||
# Author: Justin Henderson
|
# Author: Justin Henderson
|
||||||
# SANS Instructor and author of SANS SEC555: SIEM and Tactical Analytics
|
# SANS Instructor and author of SANS SEC555: SIEM and Tactical Analytics
|
||||||
@@ -21,3 +22,4 @@ output {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
{%- endif %}
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
{%- if grains['role'] != 'so-master' %}
|
||||||
{%- set ES = salt['pillar.get']('mainip'. '') %}
|
{%- set ES = salt['pillar.get']('mainip'. '') %}
|
||||||
# Author: Justin Henderson
|
# Author: Justin Henderson
|
||||||
# SANS Instructor and author of SANS SEC555: SIEM and Tactical Analytics
|
# SANS Instructor and author of SANS SEC555: SIEM and Tactical Analytics
|
||||||
@@ -21,3 +22,4 @@ output {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
{%- endif %}
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
{%- if grains['role'] != 'so-master' %}
|
||||||
{%- set ES = salt['pillar.get']('mainip'. '') %}
|
{%- set ES = salt['pillar.get']('mainip'. '') %}
|
||||||
# Author: Wes Lambert
|
# Author: Wes Lambert
|
||||||
# Last Update: 12/11/2017
|
# Last Update: 12/11/2017
|
||||||
@@ -19,3 +20,4 @@ output {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
{%- endif %}
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
{%- if grains['role'] != 'so-master' %}
|
||||||
{%- set ES = salt['pillar.get']('mainip'. '') %}
|
{%- set ES = salt['pillar.get']('mainip'. '') %}
|
||||||
# Author: Justin Henderson
|
# Author: Justin Henderson
|
||||||
# SANS Instructor and author of SANS SEC555: SIEM and Tactical Analytics
|
# SANS Instructor and author of SANS SEC555: SIEM and Tactical Analytics
|
||||||
@@ -20,3 +21,4 @@ output {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
{%- endif %}
|
||||||
|
|||||||
Reference in New Issue
Block a user