Alias not created based on index name - beats output

Hi there,

I'm trying to make a custom ILM and Index Template for my incoming filebeat and metricbeat shippers.

I've got it now so that the beats send to a custom index in ElasticSearch called "filebeat" and "metricbeat". I was hoping that the Aliases would have been created to point to the new index names and not "metricbeat-7.4.2" and "filebeat-7.4.2". Do you know how I can get this alias to link the new indices that I created with the index used for ILM?

"filebeat-7.4.2-2019.12.02-000001" : {
    "aliases" : {
      "filebeat-7.4.2" : {
        "is_write_index" : true
      }
    }
  },
  "metricbeat-7.4.2-2019.12.02-000001" : {
    "aliases" : {
      "metricbeat-7.4.2" : {
        "is_write_index" : true
      }
    }
  },

My beats config is:

output.elasticsearch:
  index: "filebeat"

setup.template.name: "filebeat"
setup.template.pattern: "filebeat-*"

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