Hi,
I am using jdbc to grab data from SQL, and it works, kind of.
I have default index XXXXXX but from database i want to create a new index.
output {
if [type] == "stops" or [type] == "signon" {
elasticsearch {
hosts => ["http://elasticsearch:9200"]
ilm_rollover_alias => "WWWW"
}
}
else{
elasticsearch {
hosts => ["http://elasticsearch:9200"]
ilm_rollover_alias => "ZZZZ"
}
}
stdout { codec => rubydebug }
}
In kibana i see that i have index WWWW and ZZZZ, but the same data i get in my default index XXXX, how to do to get data only to WWWW and ZZZZ ?