Declare index alias in filebeat.yaml and metricbeat.yaml


In order to implement an Index Lifecycle Management, I would like my daily indexes created by Filebeat to automatically have an alias.

I tried to add an aliases parameter in my filebeat.yaml :

  name: "filebeat"
  pattern: "filebeat-*"
  aliases: "myfilebeatalias"
    index.number_of_shards: 1
    index.number_of_replicas: 1

And of course this doesn't work :slight_smile:
Is there a way to declare aliases in filebeat / metricbeat .yaml ?

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