Unable to change the elasticsearch indexname in herbeat 6.5 version

from heartbeat am monitoring ip address is up or down using icmp configuration and writing data to elasticsearch by default it write the index to heartbeat-6.5.4-** i need to change the default index name giving following configuration its not creating a custom index name.

or is there way to write a heartbeat data to different index or document type.?

hosts: ["http://***:9200"]
output.elasticsearch.index: "customname-%{[agent.version]}-%{+yyyy.MM.dd}"
setup.template.name: "customname"
setup.template.pattern: "customname-
"
setup.template.enabled: true
setup.template.overwrite: true

Hi Yogesh, thanks for your post. I also saw a similar post for 7.1.1. I'll see if I can find a common thread in these posts & will let you know.

Thanks.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.