navigation_title | mapped_pages | applies_to | ||||
---|---|---|---|---|---|---|
Self-managed: {{es}} |
|
The {{stack}} {{monitor-features}} consist of two components: an agent that you install on each {{es}} and Logstash node, and a Monitoring UI in {{kib}}. The monitoring agent collects and indexes metrics from the nodes and you visualize the data through the Monitoring dashboards in {{kib}}. The agent can index data on the same {{es}} cluster, or send it to an external monitoring cluster.
To use the {{monitor-features}} with the {{security-features}} enabled, you need to set up {{kib}} to work with the {{security-features}} and create at least one user for the Monitoring UI. If you are using an external monitoring cluster, you also need to configure a user for the monitoring agent and configure the agent to use the appropriate credentials when communicating with the monitoring cluster.
You can collect monitoring and logging data in the following ways:
- Collect monitoring data with Elastic Agent (recommended)
- Collect monitoring data with Metricbeat
- Collect log data with Filebeat
If you're building a production environment, then you should send monitoring data to a separate monitoring cluster so that historical data is available even when the nodes you are monitoring are not. To learn how to store monitoring data in a separate cluster, refer to .
You can also monitor your stack using legacy {{es}} monitoring features. This method is deprecated and should not be used. To learn more, refer to .
::::{include} _snippets/legacy-warning.md ::::