Fixes ILM issue
@@ -11,7 +11,10 @@ output {
hosts => ["localhost:9200"]
sniffing => true
manage_template => false
- index => "rtops-%{+YYYY.MM.dd}"
+ ilm_enabled => true
+ ilm_rollover_alias => "rtops"
+ ilm_policy => "redelk"
+ template_name => "rtops"
}
#stdout { codec => rubydebug }
#file {
@@ -23,6 +26,7 @@ output {
hosts => ["localhost:9200"]
sniffing => true
manage_template => false
+ ilm_enabled => false
index => "implantsdb"
}
# file {
@@ -34,7 +38,10 @@ output {
hosts => ["localhost:9200"]
sniffing => true
manage_template => false
- index => "redirtraffic-%{+YYYY.MM.dd}"
+ ilm_enabled => true
+ ilm_rollover_alias => "redirtraffic"
+ ilm_policy => "redelk"
+ template_name => "redirtraffic"
}
#stdout { codec => rubydebug }
#file {
@@ -57,7 +64,7 @@ output {
if [type] == "bluecheck" {
elasticsearch {
- hosts => ["127.0.0.1:9200"]
+ hosts => ["localhost:9200"]
sniffing => true
manage_template => false
index => "bluecheck-%{+YYYY.MM.dd}"
@@ -66,7 +73,7 @@ output {
if [infralogtype] == "email" {
elasticsearch {
- hosts => ["127.0.0.1:9200"]
+ hosts => ["localhost:9200"]
sniffing => true
manage_template => false
index => "email-%{+YYYY.MM.dd}"
