Elasticsearch
Elasticsearch support and REST-API-based metric collection in HEAL.
Supported Components and Versions#
| LAYER | COMPONENT | VERSION |
|---|---|---|
| DB Server | ElasticSearch | 7.x |
Monitoring Strategies for Components#
Elasticsearch monitoring is done by triggering Elasticsearch’s REST APIs from HEAL’s component agent. The agent pushes the generated metrics to HEAL’s ingestion API layer.
KPIs collected#
| Component Name | kpi_name | kpi_identifier | KpiDescription | Units |
|---|---|---|---|---|
| ElasticSearch | Documents Indexed | ElasticSearch_DocsIndexed | 'Elasticsearch Document count of the entire cluster, or individual indices' | Count |
| ElasticSearch | Shard Size | ElasticSearch_ShardSize | Elasticsearch Total size of all shards assigned to the node. | Megabytes |
| ElasticSearch | Successful Indexing Operations | ElasticSearch_IndexSuccessOps | Elasticsearch Total number of indexing operations. | Count |
| ElasticSearch | Indexing Time | ElasticSearch_IndexingTime | Elasticsearch Total time in milliseconds spent performing indexing operations. | Milliseconds |
| ElasticSearch | Failed Indexing Operations | ElasticSearch_IndexFailedOps | Elasticsearch Number of failed indexing operations. | Count |
| ElasticSearch | Total GET Operations | ElasticSearch_TotalGETOperations | Elasticsearch Total number of get operations. | Count |
| ElasticSearch | Total Search Operations | ElasticSearch_TotalSearchOperations | Elasticsearch Total number of query operations. | Count |
| ElasticSearch | OS CPU Percentage | ElasticSearch_OSCpuPerc | Elasticsearch Recent system CPU usage as percent | Percentage |
| ElasticSearch | OS 1 min Load Avg | ElasticSearch_OS1mLoadAvg | Elasticsearch Most recent load average | Count |
| ElasticSearch | OS Memory Used Percentage | ElasticSearch_OSMemUsedPerc | Elasticsearch Used total memory percentage | Percentage |
| ElasticSearch | JVM Heap Used Percentage | ElasticSearch_JVMHeapUsedPerc | Percentage of the Java Virtual Machines heap memory that is currently being used. | Percentage |
| ElasticSearch | JVM Heap Used Bytes | ElasticSearch_JVMHeapUsedBytes | Elasticsearch Memory, in bytes, currently in use by the heap., in bytes, currently in use by the heap. | Bytes |
| ElasticSearch | Thread Count | ElasticSearch_ThreadCount | Elasticsearch Number of active threads in use by JVM. | Count |
| ElasticSearch | Disk Space Available | ElasticSearch_FreeDiskSpace | The amount of disk space available for use. | Megabytes |
| ElasticSearch | ElasticSearch ISM Min Index Age | ElasticSearch_ISM_Min_Index_Age | To determine Changes in Min Index Age of ISM Policy from OpenSearch or ElasticSearch. | Text |
| ElasticSearch | ElasticSearch ISM Schema Version | ElasticSearch_ISM_Schema_Version | To determine Changes in Schema Version of ISM Policy from OpenSearch or ElasticSearch. | Text |
| ElasticSearch | ElasticSearch ISM Index Patterns | ElasticSearch_ISM_Index_Patterns | To determine Changes in Index Pattern of ISM Policy from OpenSearch or ElasticSearch. | Text |
| ElasticSearch | Indexing rate | INDEXING_RATE | To monitor Indexing Rate of Opensearch | Count |
| ElasticSearch | Indexing latency | INDEXING_LATENCY | To get Indexing latency values | Count |
| ElasticSearch | Search rate values | SEARCH_RATE | To get search latency rate values | Count |
| ElasticSearch | Search latency values | SEARCH_LATENCY | To get search rate values | Count |
| ElasticSearch | Statistics about the JVM young garbage collectors for the node. | GC_YOUNG_COLLECTION_COUNT | The number of garbage collectors that collect young generation objects. | Count |
| ElasticSearch | Statistics about the JVM old garbage collectors for the node. | GC_OLD_COLLECTION_COUNT | The number of garbage collectors that collect old generation objects. | Count |
| ElasticSearch | Garbage Collectors Young Collection Latency | GC_YOUNG_COLLECTION_LATENCY | To get gc young collection latency | Count |
| ElasticSearch | Garbage Collectors Old Collection Latency | GC_OLD_COLLECTION_LATENCY | To get old collection latency | Count |
| ElasticSearch | ElasticSearch Write Rejected Count | ELASTICSEARCH_WRITE_REJECTED_COUNT | To Get ElasticSearch Write Rejected Count | Count |
| ElasticSearch | ElasticSearch Write Pool Size | ELASTICSEARCH_WRITE_POOL_SIZE | To Get ElasticSearch Write Pool Size | Count |
| ElasticSearch | ElasticSearch Write Queue Size | ELASTICSEARCH_WRITE_QUEUE_SIZE | To Get ElasticSearch Write Queue Size | Count |
| ElasticSearch | ElasticSearch Get Rejected Count | ELASTICSEARCH_GET_REJECTED_COUNT | To Get ElasticSearch Get Rejected Count | Count |
| ElasticSearch | ElasticSearch Get Pool Size | ELASTICSEARCH_GET_POOL_SIZE | To Get ElasticSearch Get Pool Size | Count |
| ElasticSearch | ElasticSearch Get Queue Size | ELASTICSEARCH_GET_QUEUE_SIZE | To Get ElasticSearch Get Queue Size | Count |
| ElasticSearch | ElasticSearch Search Rejected Count | ELASTICSEARCH_SEARCH_REJECTED_COUNT | To Get ElasticSearch Search Rejected Count | Count |
| ElasticSearch | ElasticSearch Search Pool Size | ELASTICSEARCH_SEARCH_POOL_SIZE | To Get ElasticSearch SearchPool Size | Count |
| ElasticSearch | ElasticSearch Search Queue Size | ELASTICSEARCH_SEARCH_QUEUE_SIZE | To Get ElasticSearch Search Queue Size | Count |
| ElasticSearch | Replication Status of Opnsearch | REPLICATION_STATUS | To find the Replication Status of OpenSearch | Count |
| ElasticSearch | Parent Breakers | OS_PARENT_BREAKERS | The parent circuit breaker monitors the total JVM heap usage for all breakers combined. | Count |
| ElasticSearch | Request Breakers | OS_REQUEST_BREAKERS | Protects against queries or aggregations that require too much memory. | Count |
| ElasticSearch | Fielddata Breakers | OS_FIELDDATA_BREAKERS | This breaker protects heap from fielddata(Sorting, Aggregations, Scripts and Text fields without doc_values) loads. | Count |
| ElasticSearch | InFlightRequests Breakers | OS_INFLIGHTREQUESTS_BREAKERS | Tracks memory usage of incoming HTTP / transport requests that are currently being processed. | Count |
| ElasticSearch | Current Count | OS_HTTP_CURRENT_COUNT | currently open HTTP connections. | Count |
| ElasticSearch | Total Opened | OS_HTTP_TOTAL_OPENED | Total HTTP connections opened since node start. | Count |