How to delete .monitoring-es-7-mb-* indices automatically after period of time?

How to delete .monitoring-es-7-mb-* indices automatically after period of time? Is there a way to assign a index lifecycle policy to the monitoring in the metricbeat.yaml file?

Hi, how many days worth of such indices are you seeing? Would you mind posting the results of these two API calls?

  • GET _cat/indices/.monitoring*mb*
  • GET _license?filter_path=license.type,license.status