Spec-Zone.ru › Elasticsearch 7
›Elasticsearch Guide [7.17] ›Monitor a cluster ›Configuring data streams/indices for monitoring

Configuring data streams created by Metricbeat 8

When monitoring using Metricbeat 8, data is stored in a set of data streams called .monitoring-{product}-8-mb. For example: .monitoring-es-8-mb.

The settings and mappings for these data streams are determined by an index template named .monitoring-{product}-mb. For example: .monitoring-es-mb. You can alter the settings of each data stream by cloning this index template and editing it.

You need to repeat this procedure when upgrading the Elastic Stack to get the latest updates to the default monitoring index templates.

You can clone index templates in Kibana:

  • Navigate to Stack Management > Index Management > Index Templates.
  • From the View dropdown, select System templates.
  • Search for the index template.
  • Select the Clone action.
  • Change the name, for example into custom_monitoring.
  • Set the priority to 500, to ensure it overrides the default index template.
  • Specify the settings you want to change in the settings section.
  • Save the cloned template.

You can also use the Elasticsearch API:

  • Retrieve the index template using the get index template API.
  • Edit the index template: set the template priority to 500, and specify the settings you want to change in the settings section.
  • Store the updated index template under a different name, for example custom_monitoring, using the create index template API.

Metricbeat 8 uses composable templates, rather than legacy templates.

After changing the index template, the updated settings are only applied to the data stream’s new backing indices. Roll over the data stream to immediately apply the updated settings to the data stream’s write index.

© 2023-2025 Elasticsearch
As of September 2024, Elasticsearch is available under a choice of three licenses: the Server Side Public License (SSPL), the Elastic License, or the AGPLv3 (OSI approved).
Elasticsearch and the Elasticsearch logo are trademarks of Elasticsearch B.V., registered in the U.S. and in other countries.
https://www.elastic.co/guide/en/elasticsearch/reference/7.17/config-monitoring-data-streams-metricbeat-8.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API