Please someone here understand what is happen with my config, my filebeat doenst create index with my custom name. When i run the command filebeat setup the filebeat communicate with my elastic and create a index default filebeat.
My filebeat, elastic-cluster, kibana is 7.3 all Linux.
Even I too face similar issue, is there any better documentation or anyone who can help on setting a custom index name?
I have the same issue. Did you fix it yet?
If you don't specify either an index template name nor its pattern name, you'll get an error (see below), but even if you do, the default template filebeat-7.3.1 is still getting loaded,
Exiting: setup.template.name and setup.template.pattern have to be set if index name is modified
If i mention setup.template.name and setup.template.pattern i dont get any error but still my index name remains filebeat-version-date.
Add the following configuration to filebeat
This line totally did the trick! Thanks!
@Anantha_Padmanabhan It's not that, I had that setup already. It was setup.ilm.enabled: false
@Anantha_Padmanabhan, it's a known issue
Based on https://discuss.elastic.co/t/filebeat-7-0-0-rename-index/177435.
Chatting with @urso, he confirmed that Beats will ignore the output.elasticsearch.index setting that allows users to override the index...
Yep I did this but when you disable the ILM your filebeat doesn't auto create Lifecycle policy.
yeah i too fixed it by doing the same temporarily..
It's an open issue since April, 2019.
@daniel_a Please use
.\filebeat.exe setup --index-management
This will set the index.
@abhishek_kumar3 Do I still need to include setup.ilm.enabled: false? If not, this would solve the issue I think with not having ILM enabled, right?
@daniel_a Yes, ilm is required once while setting up the index in the elastic search I think. For sending the data to a different index pattern, you may use that command I mentioned.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.