Custom index not creating at ElasticSearch cluster

Hi @magnusbaeck,

Thank you for suggesting and i have checked using --verbose there i found like mapping i created loading or not . it seems the default logstash mapping is applying with document_type logs instead of my custom one.The following is the configuration i applied to get it work.

action => "index"
hosts => ["10.10.1.36:9200"]
index => "logs_test"
document_type => "lv2"
template => "/home/test_bkp.json"
template_name => "kafka_template"
template_overwrite => 'true'

Explicit document type , template_overwrite => 'true' did the trick for me and i am loading custom index template from template.

Now indexing data from kafka topic to es is working and how can we create monthly index using the same configurations please suggest me.

Thanks
phani