Skip to content

Latest commit

 

History

History
128 lines (86 loc) · 6.54 KB

File metadata and controls

128 lines (86 loc) · 6.54 KB
mapped_pages
applies_to
serverless stack
products
id
elasticsearch
id
cloud-hosted

Monitoring

Keeping on top of the health of your cluster or deployment, as well as your orchestrator, is an important part of maintenance. It also helps you to identify and troubleshoot issues. When you move to production, detecting and resolving issues when they arise is a key component of keeping your deployment highly available.

Depending on your deployment type, you can use a variety of solutions for monitoring your Elastic components.

Monitoring your cluster or deployment

You have several options for monitoring your cluster or deployment.

Use to simplify cluster management through performance recommendations, resource utilization visibility, and real-time issue detection with resolution paths.

Alternatively, you can use Stack Monitoring to monitor logs and metrics across the {{stack}}.

To help you decide between these two options, refer to .

For ECE and {{ech}} deployments, there are also a number of out of the box monitoring tools available.

The following sections provide more details.

AutoOps (recommended)

serverless:
stack:

AutoOps diagnoses issues in {{es}} by analyzing hundreds of metrics, providing root-cause analysis and accurate resolution paths. With AutoOps, customers can prevent and resolve issues, cut down administration time, and optimize resource utilization.

:::{include} /deploy-manage/monitor/_snippets/autoops-availability.md :::

:::{include} /deploy-manage/monitor/_snippets/cc-autoops-all-licenses.md :::

Stack monitoring

stack:

:::{include} /deploy-manage/monitor/_snippets/stack-monitoring-def.md :::

In {{ece}} and {{ech}}, Elastic manages the installation and configuration of the monitoring agent for you, simplifying the stack monitoring setup process. To enable it, refer to .

For self-managed, refer to enablement options under .

In {{eck}}, the operator manages the installation once enabled. For more information, refer to .

:::{include} /deploy-manage/monitor/_snippets/stack-monitoring-prod.md :::

Cluster health and performance metrics

deployment:
  ece:
  ess:

{{ece}} and {{ech}} provide out of the box tools for monitoring the health of your deployments and resolving health issues when they arise:

{{ech}} only:

{{ece}} only:

:::{tip} Out of the box logs and metrics tools, including ECH preconfigured logs and metrics and ECE platform monitoring logs and metrics, are useful for providing information in a non-production environment. In a production environment, it’s important set up either AutoOps or stack monitoring to retain the logs and metrics that can be used to troubleshoot any health issues in your deployments. In the event of that you need to contact our support team, they can use the retained data to help diagnose any problems that you may encounter. :::

To learn more about the health and performance tools in {{ecloud}}, refer to .

Query activity

stack: preview 9.4
serverless: preview

The Query activity page in {{kib}} gives you a real-time view of all search queries currently running in your {{es}} cluster. Use it to identify long-running queries, inspect their details, trace them back to their source, and cancel them when needed.

{{kib}} task manager monitoring

stack: preview

The {{kib}} task manager has an internal monitoring mechanism to keep track of a variety of metrics, which can be consumed with either the health monitoring API or the {{kib}} server log. Learn how to configure thresholds and consume related to {{kib}} task manager.

Monitoring your orchestrator

deployment:
  ece:
  eck:

In addition to monitoring your cluster or deployment health and performance, you need to monitor your orchestrator. Monitoring is especially important for orchestrators hosted on infrastructure that you control.

Learn how to enable monitoring of your orchestrator:

  • ECK operator metrics: Open and secure a metrics endpoint that can be used to monitor the operator’s performance and health. This endpoint can be scraped by third-party Kubernetes monitoring tools.
  • ECE platform monitoring: Learn about how ECE collects monitoring data for your installation in the logging-and-metrics deployment, and how to access monitoring data.

:::{admonition} Monitoring {{ecloud}} Elastic monitors {{ecloud}} service metrics and performance as part of our shared responsibility. We provide service availability information on our service status page. :::

Logging

You can configure several types of logs in {{stack}} that can help you to gain insight into {{stack}} operations, diagnose issues, and track certain types of events. Learn about the types of logs available, where to find them, and how to configure them.