Elasticsearch extension

  • Latest Dynatrace
  • Extension
  • Published Oct 27, 2025

Monitor Elasticsearch clusters, nodes, and indexes, remotely or locally, via API.

Elasticsearch dashboardElasticsearch host KPIsCluster statusCluster nodes and indexesDisks and threads
1 of 5Elasticsearch dashboard

Get started

Overeview

Monitor your Elasticsearch clusters, nodes, and indexes, as well as use the Unified Analysis pages to analyze the health of Elasticsearch clusters and drill down into individual metrics.

Use cases

  • Monitor health and performance of your Elasticsearch cluster using built-in analysis pages and easy-to-navigate dashboards.
  • Benefit from root cause analysis of an Elasticsearch cluster, nodes, and index performance issues.
  • Enable alerts based on detected anomalies.
  • Look for analysis support for Ops, IT, and Network admins.

Requirements

The Elasticsearch extension uses the following Elasticsearch endpoints to scrape metrics:

  • /_cluster/health
  • /_all/_stats?level=shards
  • /_nodes/stats
  • /_alias
  • /_cat/shards

According to the Elasticsearch documentation, the user defined in the extension monitoring configuration requires the following permissions:

Compatibility information

  • The Elasticsearch extension connects to the Elasticsearch cluster via API. The cluster must be reachable from the ActiveGate where the extension has been activated.
  • A OneAgent-instrumented host can run this extension too, so the Elasticsearch cluster can be monitored from OneAgent by pointing to the localhost network address. However, if you activate this extension on multiple hosts in the same cluster, you receive the same cluster data multiple times. For this reason, activate the extension only on one host in a cluster if you decide to run it locally.
  • The Elasticsearch extension supports Elasticsearch version 8.0 or higher.

Activation and setup

  1. In Dynatrace, download the Elasticsearch extension, and then select Add monitoring configuration next to an extension version under the Versions list.
  2. Select the host you want to monitor, and define the URL of the Elasticsearch instance and the credentials to connect to it.
  3. Select the feature sets containing the metrics you want to import.

Details

The Elasticsearch extension is built on the new Extension 2.0 framework that utilizes a built-in Elasticsearch metric exporter. The Unified Analysis page provide insight into the health and performance of your Elasticsearch clusters.

The Elasticsearch extension package contains:

  • Data source configuration for metric ingestion.
  • Topology and relationship definitions for Elasticsearch clusters and their nodes, indexes, disks, and thread pools.
  • Unified Analysis pages for every entity (accessible from the dashboard).
  • Overview dashboard.
  • Alerts for several key metrics:
    • Total CPU Util > 85%
    • Filesystem Usage > 80%
    • Open File Descriptors > 80% of Max File Descriptors
    • Heap Used > 85%
    • Rejected Threads > 300

FAQ

The formula for DDU consumption of the extension is as follows:

((12 * number of clusters)
+ (53 * number of nodes)
+ (47 * number of indexes)
+ ( 5 * number of disks)
+ ( 5 * number of thread pools)) * 525.6 DDUs/year

The DDU cost above does not include any possible Log events or Custom events triggered by the extension. For more information, visit DDUs for Log Monitoring Classic and DDUs for custom Davis events.

Feature sets

When activating your extension using monitoring configuration, you can limit monitoring to one of the feature sets. To work properly the extension has to collect at least one metric after the activation.

In highly segmented networks, feature sets can reflect the segments of your environment. Then, when you create a monitoring configuration, you can select a feature set and a corresponding ActiveGate group that can connect to this particular segment.

All metrics that aren't categorized into any feature set are considered to be the default and are always reported.

A metric inherits the feature set of a subgroup, which in turn inherits the feature set of a group. Also, the feature set defined on the metric level overrides the feature set defined on the subgroup level, which in turn overrides the feature set defined on the group level.

Metric nameMetric keyDescription
Query Countelasticsearch_index_stats_search_query_total.countTotal query count
Query Timeelasticsearch_index_stats_search_query_time_seconds_totalQuery time in seconds
Fetch Countelasticsearch_index_stats_search_fetch_total.countTotal fetch count
Fetch Timeelasticsearch_index_stats_search_fetch_time_seconds_totalFetch time in seconds
Get Countelasticsearch_index_stats_get_total.countTotal get count
Get Timeelasticsearch_index_stats_get_time_seconds_totalGet time in seconds
Indexing Countelasticsearch_index_stats_indexing_index_total.countTotal indexing count
Indexing Timeelasticsearch_index_stats_indexing_index_time_seconds_totalIndexing time in seconds
Refresh Countelasticsearch_index_stats_refresh_total.countTotal refresh count
Refresh Timeelasticsearch_index_stats_refresh_time_seconds_totalRefresh time in seconds
Flush Countelasticsearch_index_stats_flush_total.countTotal flush count
Flush Timeelasticsearch_index_stats_flush_time_seconds_totalFlush time in seconds
Delete Countelasticsearch_index_stats_indexing_delete_total.countTotal delete count
Delete Timeelasticsearch_index_stats_indexing_delete_time_seconds_totalDelete time in seconds
Merge Countelasticsearch_index_stats_merge_total.countTotal merge count
Merge Timeelasticsearch_index_stats_merge_time_seconds_totalMerge time in seconds
Indexing Throttle Timeelasticsearch_index_stats_indexing_throttle_time_seconds_totalIndexing throttle time in seconds
Indexing No-op countelasticsearch_index_stats_indexing_noop_update_total.countTotal indexing no-op count
Scroll Timeelasticsearch_index_stats_search_scroll_time_seconds_totalScroll time in seconds
Scroll Countelasticsearch_index_stats_search_scroll_total.countTotal scroll count
Warmer Countelasticsearch_index_stats_warmer_total.countTotal warmer count
Warmer Timeelasticsearch_index_stats_warmer_time_seconds_totalWarmer time in seconds
Search Suggest Countelasticsearch_index_stats_search_suggest_total.countTotal search suggest count
Search Suggest Timeelasticsearch_index_stats_search_suggest_time_seconds_totalSearch suggest time in seconds
Metric nameMetric keyDescription
Network Received byteselasticsearch_transport_rx_size_bytes_totalAmount of bytes received
Network sent byteselasticsearch_transport_tx_size_bytes_totalAmount of bytes sent
Metric nameMetric keyDescription
Initializing Shardselasticsearch_cluster_health_initializing_shardsNumber of initializing shards
Unassigned Shardselasticsearch_cluster_health_unassigned_shardsNumber of unassigned shards
Relocating Shardselasticsearch_cluster_health_relocating_shardsNumber of relocating shards
Delayed Unassigned Shardselasticsearch_cluster_health_delayed_unassigned_shardsNumber of delayed unassigned shards
Data nodeselasticsearch_cluster_health_number_of_data_nodesNumber of data nodes
Metric nameMetric keyDescription
Total Documents By Shardelasticsearch_indices_shards_docsTotal documents by shard
Deleted Documents By Shardelasticsearch_indices_shards_docs_deletedDeleted documents by shard
Shard Sizeelasticsearch_indices_shards_store_size_in_bytesShard size in bytes
Deleted Documentselasticsearch_indices_deleted_docs_totalTotal count of deleted documents
Indexing Documentselasticsearch_index_stats_index_currentCount of documents that are currently being indexed
Merge Stopped Timeelasticsearch_index_stats_merge_stopped_time_seconds_totalTotal large merge stopped time in seconds
Merge Throttle Timeelasticsearch_index_stats_merge_throttle_time_seconds_totalTotal merge I/O throttle time in seconds
Metric nameMetric keyDescription
Filesystem Sizeelasticsearch_filesystem_data_size_bytesFilesystem size in bytes
Filesystem Freeelasticsearch_filesystem_data_free_bytesFilesystem available in bytes
Metric nameMetric keyDescription
Breaker Limit Sizeelasticsearch_breakers_limit_size_bytesCircuit Breaker Limit Size
Breaker Trippedelasticsearch_breakers_trippedWhether or not a breaker tripped
Metric nameMetric keyDescription
Kilobytes Read From Diskelasticsearch_filesystem_io_stats_device_read_size_kilobytes_sumTotal kilobytes read from disk
Kilobytes Written To Diskelasticsearch_filesystem_io_stats_device_write_size_kilobytes_sumTotal kilobytes written to disk
Metric nameMetric keyDescription
Threadselasticsearch_thread_pool_threads_count.gaugeCount of threads
Rejected Threadselasticsearch_thread_pool_rejected_count.gaugeCount of rejected threads
Metric nameMetric keyDescription
Heap Max Byteselasticsearch_jvm_memory_max_bytesHeap max bytes
Heap Used Byteselasticsearch_jvm_memory_used_bytesHeap used bytes
Metric nameMetric keyDescription
Query Countelasticsearch_indices_search_query_total.countTotal query count
Query Timeelasticsearch_indices_search_query_time_secondsQuery time in seconds
Fetch Countelasticsearch_indices_search_fetch_total.countTotal fetch count
Fetch Timeelasticsearch_indices_search_fetch_time_secondsFetch time in seconds
Get Countelasticsearch_indices_get_total.countTotal get count
Get Timeelasticsearch_indices_get_time_secondsGet time in seconds
Indexing Countelasticsearch_indices_indexing_index_total.countTotal indexing count
Indexing Timeelasticsearch_indices_indexing_index_time_seconds_totalIndexing time in seconds
Refresh Countelasticsearch_indices_refresh_total.countTotal refresh count
Refresh Timeelasticsearch_indices_refresh_time_seconds_totalRefresh time in seconds
Flush Countelasticsearch_indices_flush_total.countTotal flush count
Flush Timeelasticsearch_indices_flush_time_secondsFlush time in seconds
Delete Countelasticsearch_indices_delete_total.countTotal delete count
Delete Timeelasticsearch_indices_delete_time_secondsDelete time in seconds
Merge Countelasticsearch_indices_merges_total.countTotal merge count
Merge Timeelasticsearch_indices_merges_total_time_seconds_totalMerge time in seconds
Merge Sizeelasticsearch_indices_merges_total_size_bytes_totalMerge size in bytes
Metric nameMetric keyDescription
Heap Committed Byteselasticsearch_jvm_memory_committed_bytesHeap committed bytes
Garbage Collection Timeelasticsearch_jvm_gc_collection_seconds_sumGarbage collection time in seconds
Garbage Collection Countelasticsearch_jvm_gc_collection_count.count
Metric nameMetric keyDescription
Filter Cache Sizeelasticsearch_indices_filter_cache_memory_size_bytesSize of the filter cache in bytes
Fielddata Memory Usageelasticsearch_indices_fielddata_memory_size_bytesFielddata memory usage in bytes
Metric nameMetric keyDescription
Disk IOPSelasticsearch_filesystem_io_stats_device_operations_countAmount of disk IO operations per second
Disk Read Rateelasticsearch_filesystem_io_stats_device_read_operations_countAmount of read operations per second
Disk Write Rateelasticsearch_filesystem_io_stats_device_write_operations_countAmount of write operations per second
Metric nameMetric keyDescription
Aliaselasticsearch_indices_aliasesThe index alias
Total Documentselasticsearch_indices_docs_totalTotal count of documents
Documents Without Replicaselasticsearch_indices_docs_primaryTotal count of documnets without replicas
Index Sizeelasticsearch_indices_store_size_bytes_totalIndex size in bytes
Metric nameMetric keyDescription
Query Cache Caches Countelasticsearch_index_stats_query_cache_caches_total.countAmount of caches in the query cache
Query Cache Hitselasticsearch_index_stats_query_cache_hits_totalAmount of query cache hits
Query Cache Misseselasticsearch_index_stats_query_cache_misses_totalAmount of query cache misses
Query Cache Evictionselasticsearch_index_stats_query_cache_evictions_totalAmount of query cache evictions
Request Cache Evictionselasticsearch_index_stats_request_cache_evictions_totalAmount of request cache evictions
Request Cache Hitselasticsearch_index_stats_request_cache_hits_totalAmount of request cache hits
Request Cache Misseselasticsearch_index_stats_request_cache_misses_totalAmount of request cache misses
Metric nameMetric keyDescription
CPU Load Average(1m)elasticsearch_os_load1CPU load average over 1 minute
CPU Load Average(5m)elasticsearch_os_load5CPU load average over 5 minutes
CPU Load Average(15m)elasticsearch_os_load15CPU load average over 15 minutes
Metric nameMetric keyDescription
Max File Descriptorselasticsearch_process_max_files_descriptorsMax file descriptors
Open File Descriptorselasticsearch_process_open_files_count.gaugeOpen file descriptors
Metric nameMetric keyDescription
Node Roleselasticsearch_nodes_rolesNode roles
Total Documentselasticsearch_indices_docsTotal count of documents
Documents Deletedelasticsearch_indices_docs_deletedTotal count of deleted documents
Shardselasticsearch_node_shards_totalTotal count of shards
Store Throttle Timeelasticsearch_indices_store_throttle_time_seconds_totalIndex store throttle time in seconds
Translog Operationselasticsearch_indices_translog_operationsTotal translog operations
Translog Sizeelasticsearch_indices_translog_size_in_bytesTranslog size in bytes
Metric nameMetric keyDescription
OS CPU Utilelasticsearch_os_cpu_percentOS cpu utilization percent
Process CPU Utilelasticsearch_process_cpu_percentProcess cpu utilization percent
Metric nameMetric keyDescription
Health Statuselasticsearch_cluster_health_statusStatus of cluster health
Number of Nodeselasticsearch_cluster_health_number_of_nodesNumber of nodes in a cluster
Active Shardselasticsearch_cluster_health_active_shardsNumber of active shards
Active Primary Shardselasticsearch_cluster_health_active_primary_shardsNumber of active primary shards
Pending Taskselasticsearch_cluster_health_number_of_pending_tasksNumber of pending Tasks
Max Task Waiting Timeelasticsearch_cluster_health_task_max_waiting_in_queue_millisAmount of task waiting time in millis
Segmentselasticsearch_indices_segment_count_totalNumber of segments
Metric nameMetric keyDescription
Queued Threadselasticsearch_thread_pool_queue_count.gaugeCount of queued threads
Active Threadselasticsearch_thread_pool_active_count.gaugeCount of active threads
Completed Threadselasticsearch_thread_pool_completed_count.gaugeCount of completed threads
Metric nameMetric keyDescription
Query Cache Sizeelasticsearch_indices_query_cache_memory_size_bytesSize of the query cache in bytes
Request Cache Sizeelasticsearch_indices_request_cache_memory_size_bytesSize of the request cache in bytes
Fielddata Evictionselasticsearch_indices_fielddata_evictionsNumber of fielddata evictions
Metric nameMetric keyDescription
Network Received Packetselasticsearch_transport_rx_packets_total.countAmount of packets received
Network Sent Packetselasticsearch_transport_tx_packets_total.countAmount of packets sent
Metric nameMetric keyDescription
Breaker Estimated Sizeelasticsearch_breakers_estimated_size_bytesCircuit breaker estimated size in bytes
Breaker Overheadelasticsearch_breakers_overheadCircuit breaker overhead
Metric nameMetric keyDescription
Fielddata Evictionselasticsearch_index_stats_fielddata_evictions_totalNumber of fielddata evictions
Fielddata Memoryelasticsearch_index_stats_fielddata_memory_bytes_totalAmount of fielddata memory in bytes
Query Cache Memoryelasticsearch_index_stats_query_cache_memory_bytes_totalAmount of query cache memory in bytes
Query Cache Sizeelasticsearch_index_stats_query_cache_sizeSize of the query cache in bytes
Request Cache Sizeelasticsearch_index_stats_request_cache_memory_bytes_totalRequest cache size in bytes
Metric nameMetric keyDescription
Free Memoryelasticsearch_os_mem_free_bytesFree memory in bytes
Used Memoryelasticsearch_os_mem_used_bytesUsed memory in bytes
Related tags
DatabasePythonCachingElasticApplication Observability