Type to search.

Configuring data streams created by Metricbeat 8

ECH

Elastic Cloud Hosted lets you manage and configure one or more deployments of the versioned Elastic Stack, hosted on Elastic Cloud.

Availability

  • Generally available

    This functionality is generally available and ready for production usage.

ECK

Elastic Cloud on Kubernetes extends Kubernetes orchestration capabilities to allow you to deploy and manage components of the Elastic Stack.

Availability

  • Generally available

    This functionality is generally available and ready for production usage.

This documentation corresponds to the latest patch available for each minor version. If you're not using the latest patch, check the release notes for changes.

ECE

Elastic Cloud Enterprise is a self-managed orchestration platform for deploying and managing the Elastic Stack at scale.

Availability

  • Generally available

    This functionality is generally available and ready for production usage.

This documentation corresponds to the latest patch available for each minor version. If you're not using the latest patch, check the release notes for changes.

Self-managed

Self-managed deployments are Elastic Stack deployments managed without the assistance of an orchestrator.

Availability

  • Generally available

    This functionality is generally available and ready for production usage.

This documentation corresponds to the latest patch available for each minor version. If you're not using the latest patch, check the release notes for changes.

When monitoring using Metricbeat, data is stored in a set of data streams with the following pattern:

Text
.monitoring-{{product}}-8-mb

For example:

Text
.monitoring-es-8-mb

The settings and mappings for these data streams are determined by an index template with the following pattern:

Text
.monitoring-{{product}}-mb

For example:

Text
.monitoring-es-mb

You can alter the settings of each data stream by cloning this index template and editing it.

Warning

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:

  • go to the Index Management management page in the navigation menu or use the global search field.
  • Select 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.
Note

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.