wmcleod
(William McLeod)
June 17, 2019, 2:59pm
1
Hi,
I am trying to choose a custom index name whilst using ILM in Metricbeat.
I'd like to have the indexes that Metricbeat writes to called metricbeat-department-7.1.1....
My metricbeat.yml contains the following:
setup.ilm.enabled: auto
setup.ilm.rollover_alias: "metricbeat-financedept-{agent.version}"
setup.ilm.pattern: "{now/d}-000001"
The index that this write to is:
metricbeat-7.1.1-2019.06.17-000001
How can I modify the settings so that the destination index is:
metricbeat-financedept -7.1.1-2019.06.17-000001
Thanks,
William
thekm1
(Mathew Thekkekara)
June 17, 2019, 4:36pm
2
Hi @wmcleod
setup.ilm.rollover_alias is the right place to do what you want.
Did you restarted the beat after changing the yml file?
Did you try setting it by the ./metricbeat setup -E 'setup.ilm.rollover_alias= "your-pattern"'
command ?
wmcleod
(William McLeod)
June 21, 2019, 8:56am
3
Hi Mathew. It's working OK.
I had been editing the .yml file on the wrong server.
Thanks for your reply.
system
(system)
Closed
July 19, 2019, 8:56am
4
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.