How central management works

edit

Beats central management uses a mechanism called configuration tags to group related configurations. You define configuration tags in the Central Management UI in Kibana after enrolling your first beat.

A configuration tag is a group of configuration blocks that you can apply to one or more Beats. A tag can have configuration blocks for different types of Beats. For example, you might have a tag called development that you use to group all configurations that are valid for running Beats in your development environment. The development tag might have:

  • Two Metricbeat module configuration blocks: one that reads system metrics and another that reads metrics from Apache HTTP servers
  • Two Filebeat module configuration blocks: one that reads Apache HTTP server logs and another that reads system logs
  • One heartbeat monitor configuration block: checks that a public facing website is live.
  • One Elasticsearch output configuration block that sends the output to your Elasticsearch development cluster
Screen showing configuration blocks in a tag

You apply the tag to any Beats that will use the configurations defined in the tag.

Screen showing Beats with tags applied

When the enrolled Beats run, each Beat uses the configuration blocks that are valid for its type.

You can add, modify, or remove configuration blocks from a tag. Any changes that you make to the configuration blocks in a tag are automatically applied to all Beats that have that tag.

You can add or remove tags to change the set of configuration blocks applied to your Beats. For example, after you’ve tested configurations in your development environment, you can remove the development tag and add a production tag that has an Elasticsearch output configuration block for sending the data to your production cluster.

Screen showing Beats with development and production tags applied

You can apply multiple tags to a Beat. For example, instead of defining the apache modules under the development tag as described earlier, you could create a separate tag called apache that contains the Apache module configurations, then apply the tag to all Beats running on Apache servers. This would enable you to maintain your Apache module configurations under a single tag, while also using a development tag to send output for some instances to your development cluster.

Screen showing Beats with multiple tags

You can apply as many tags as you need. Just keep in mind that the configurations for all assigned tags are merged, which means that you should not specify conflicting configurations. If there are errors in the configuration, you’ll see an Error status in the Central Management UI and need to look at the logs for the Beat to troubleshoot the problem.