mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-17 06:22:53 +01:00
Logstash Module - Add missing quotes
This commit is contained in:
@@ -12,7 +12,7 @@ filter {
|
|||||||
output {
|
output {
|
||||||
if "beat" in [tags] {
|
if "beat" in [tags] {
|
||||||
elasticsearch {
|
elasticsearch {
|
||||||
hosts => {{ ES }}
|
hosts => "{{ ES }}"
|
||||||
index => "logstash-beats-%{+YYYY.MM.dd}"
|
index => "logstash-beats-%{+YYYY.MM.dd}"
|
||||||
template_name => "logstash-beats"
|
template_name => "logstash-beats"
|
||||||
template => "/beats-template.json"
|
template => "/beats-template.json"
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ filter {
|
|||||||
output {
|
output {
|
||||||
if [event_type] =~ "ossec" or "ossec" in [tags] {
|
if [event_type] =~ "ossec" or "ossec" in [tags] {
|
||||||
elasticsearch {
|
elasticsearch {
|
||||||
hosts => {{ ES }}
|
hosts => "{{ ES }}"
|
||||||
index => "logstash-ossec-%{+YYYY.MM.dd}"
|
index => "logstash-ossec-%{+YYYY.MM.dd}"
|
||||||
template_name => "logstash-ossec"
|
template_name => "logstash-ossec"
|
||||||
template => "/logstash-ossec-template.json"
|
template => "/logstash-ossec-template.json"
|
||||||
|
|||||||
Reference in New Issue
Block a user