Declare index alias in filebeat.yaml and metricbeat.yaml

Hello,

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 :

setup.template:
  name: "filebeat"
  pattern: "filebeat-*"
  aliases: "myfilebeatalias"
  settings:
    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.