I am trying to implement an automatic indices rollover based on their size while ILM is disabled.
So, in beats configuration yml (e.g. metricbeat.yml) I specified the following:
After starting the metricbeat, I created an alias with is_write_index=true for the index that was just created (metricbeat-000001). After running a rollover on the alias, a new index was created (metricbeat-000002) with is_write_index=true and the old index received is_write_index=false as expected. However, the metricbeat continued to write to metricbeat-000001 and not metricbeat-000002 . How do I make metricbeat to write to the relevant alias and not the original index? What am I missing?