output.elasticsearch:
# Array of hosts to connect to.
hosts: ["localhost:9200"]
index: "custom-index"
setup.template.name: "custom-index"
setup.template.pattern: "custom-index-*"
setup.ilm.enabled: false
curl -XGET 'SERVER IP/_cat/indices?pretty'