Hi,
If I set the filebeat output to Logstash and give customize name to the index in the output section of Logstash pipeline code, in that case how to create the index template and ILM policy (For Elasticsearch output in filebeat the index template and ILM policy are automatically applied)?
input {
beats {
port => "5046"
}
}
output {
elasticsearch {
hosts => ["X.X.X.X:9200", "X.X.X.X:9200", "X.X.X.X:9200"]
index => "test-log"
user => "username"
password => "password"
}
}
Thanks.