클러스터 통계 API

클러스터 통계 API (Cluster Stats API)

클러스터의 전체적인 지표를 한눈에 보고 싶으시죠? 클러스터 통계 API가 샤드 수, 저장소 크기, 메모리 사용량 같은 핵심 인덱스 지표를 포함한 클러스터의 상위 수준 통계를 반환해요. 여기에 더해 노드 수, 노드 역할, 운영 체제, JVM 버전, 리소스 사용률(메모리·CPU), 설치된 플러그인 같은 노드 정보도 상세히 제공해요.

출처: 문서

본문

1.0에서 도입

클러스터 통계 API는 샤드 수, 저장소 크기, 메모리 사용량 같은 핵심 인덱스 지표를 포함해 클러스터에 대한 상위 수준 통계를 반환해요. 여기에 더해 노드 수, 노드 역할, 운영 체제, JVM 버전, 리소스 사용률(메모리·CPU), 설치된 플러그인 같은 클러스터 노드에 대한 상세 정보도 제공해요.

엔드포인트

GET /_cluster/stats
GET /_cluster/stats/nodes/{node_id}
GET /_cluster/stats/{metric}/nodes/{node_id}
GET /_cluster/stats/{metric}/{index_metric}/nodes/{node_id}

경로 파라미터

다음 표는 사용 가능한 경로 파라미터예요. 모든 경로 파라미터는 선택적이에요.

Parameter Data type Description
index_metric List 인덱스 메트릭 그룹의 쉼표로 구분된 목록이에요(예: docs,store).
metric List 반환되는 정보를 지정된 메트릭으로 제한해요.
node_id List or String 결과를 필터링하는 데 사용되는 노드 ID의 쉼표로 구분된 목록이에요. 노드 필터를 지원해요.

master라는 용어는 OpenSearch 2.0 이후 cluster_manager로 대체되어 deprecated됐지만, master 필드는 하위 호환성을 위해 유지됐어요. master 역할이나 cluster_manager 역할을 가진 노드가 있으면 두 필드 모두 count가 1씩 증가해요. 노드 수 증가 예시는 예시 응답을 참고하세요.

쿼리 파라미터

다음 표는 사용 가능한 쿼리 파라미터예요. 모든 쿼리 파라미터는 선택적이에요.

Parameter Data type Description
flat_settings Boolean 설정을 평평한 형태로 반환할지 여부예요. 특히 심하게 중첩된 설정에 대해 가독성이 좋아질 수 있어요. 예를 들어 "cluster": { "max_shards_per_node": 500 }의 평평한 형태는 "cluster.max_shards_per_node": "500"이에요. (기본값: false)
timeout String 각 노드의 응답을 기다리는 시간이에요. 노드가 타임아웃이 만료되기 전에 응답하지 않으면 응답에 해당 노드의 통계가 포함되지 않아요. 단, 타임아웃된 노드는 응답의 _nodes.failed 속성에 포함돼요. 기본값은 타임아웃 없음이에요.

메트릭 그룹 (Metric groups)

다음 표는 사용 가능한 모든 메트릭 그룹을 나열해요.

Metric Description
indices 클러스터의 인덱스에 대한 통계예요.
os 로드와 메모리를 포함한 운영 체제 통계예요.
process 열린 파일 디스크립터와 CPU 사용량을 포함한 프로세스 통계예요.
jvm 힙 사용량과 스레드를 포함한 JVM 통계예요.
fs 파일 시스템 사용량 통계예요.
plugins 노드와 통합된 OpenSearch 플러그인에 대한 통계예요.
network_types 노드에 연결된 transport 및 HTTP 네트워크에 대한 통계예요.
discovery_type 노드가 클러스터에서 다른 노드를 찾는 데 사용하는 discovery 방법에 대한 통계예요.
packaging_types 각 노드의 OpenSearch 배포판에 대한 통계예요.
ingest ingest 파이프라인에 대한 통계예요.

인덱스 메트릭 그룹 (Index metric groups)

indices 메트릭에 대해 반환되는 정보를 필터링하려면 특정 index_metric 값을 사용할 수 있어요. 이 값들은 다음 쿼리 유형을 사용할 때만 지원돼요.

GET _cluster/stats/_all/{index_metric}/nodes/{node_id}
GET _cluster/stats/indices/{index_metric}/nodes/{node_id}

다음 인덱스 메트릭이 지원돼요.

  • shards
  • docs
  • store
  • fielddata
  • query_cache
  • completion
  • segments
  • mappings
  • analysis

예시 요청: 특정 인덱스 메트릭 검색하기

다음 예시 요청은 모든 노드에 대해 docs와 segments 인덱스 메트릭의 통계를 검색해요.

GET /_cluster/stats/indices/docs,segments/nodes/_all

예시 요청: 특정 노드의 통계 검색하기

다음 예시 요청은 cluster manager 노드에 대한 정보를 반환해요.

GET /_cluster/stats/nodes/_cluster_manager

예시 요청: 사람이 읽을 수 있는 출력 사용하기

다음 예시 요청은 human 쿼리 파라미터를 포함해 바이트와 크기 값을 사람이 읽을 수 있는 형식으로 반환해요.

GET /_cluster/stats?human&pretty

human 파라미터는 원래 숫자 값을 유지하면서 사람이 읽을 수 있는 필드를 응답에 추가해요. 예를 들어 jvm.max_uptime_in_millis 필드는 기본 응답에서 숫자 값만 보여줘요.

"jvm": {
    "max_uptime_in_millis": 21476787
}

human 파라미터를 포함하면 응답에 사람이 읽을 수 있는 max_uptime 필드와 원래 숫자 필드가 모두 포함돼요.

"jvm": {
    "max_uptime": "5.9h",
    "max_uptime_in_millis": 21480995
}

예시 응답

{
    "_nodes": {
        "total": 1,
        "successful": 1,
        "failed": 0
    },
    "cluster_name": "opensearch-cluster",
    "cluster_uuid": "QravFieJS_SlZJyBMcDMqQ",
    "timestamp": 1644607845054,
    "status": "yellow",
    "indices": {
        "count": 114,
        "shards": {
            "total": 121,
            "primaries": 60,
            "replication": 1.0166666666666666,
            "index": {
                "shards": {
                    "min": 1,
                    "max": 2,
                    "avg": 1.0614035087719298
                },
                "primaries": {
                    "min": 0,
                    "max": 2,
                    "avg": 0.5263157894736842
                },
                "replication": {
                    "min": 0.0,
                    "max": 1.0,
                    "avg": 0.008771929824561403
                }
            }
        },
        "docs": {
            "count": 134263,
            "deleted": 115
        },
        "store": {
            "size_in_bytes": 70466547,
            "reserved_in_bytes": 0
        },
        "fielddata": {
            "memory_size_in_bytes": 664,
            "evictions": 0,
            "item_count": 1
        },
        "query_cache": {
            "memory_size_in_bytes": 0,
            "total_count": 1,
            "hit_count": 0,
            "miss_count": 1,
            "cache_size": 0,
            "cache_count": 0,
            "evictions": 0
        },
        "completion": {
            "size_in_bytes": 0
        },
        "segments": {
            "count": 341,
            "memory_in_bytes": 3137244,
            "terms_memory_in_bytes": 2488992,
            "stored_fields_memory_in_bytes": 167672,
            "term_vectors_memory_in_bytes": 0,
            "norms_memory_in_bytes": 346816,
            "points_memory_in_bytes": 0,
            "doc_values_memory_in_bytes": 133764,
            "index_writer_memory_in_bytes": 0,
            "version_map_memory_in_bytes": 0,
            "fixed_bit_set_memory_in_bytes": 1112,
            "max_unsafe_auto_id_timestamp": 1644269449096,
            "remote_store" : {
               "upload" : {
                  "total_upload_size" : {
                     "started_bytes" : 152419,
                     "succeeded_bytes" : 152419,
                     "failed_bytes" : 0
                  },
                  "refresh_size_lag" : {
                     "total_bytes" : 0,
                     "max_bytes" : 0
                  },
                  "max_refresh_time_lag_in_millis" : 0,
                  "total_time_spent_in_millis" : 516,
                  "pressure" : {
                     "total_rejections" : 0
                  }
               },
               "download" : {
                  "total_download_size" : {
                     "started_bytes" : 0,
                     "succeeded_bytes" : 0,
                     "failed_bytes" : 0
                  },
                  "total_time_spent_in_millis" : 0
               }
            },
            "file_sizes": {}
        },
        "mappings": {
            "field_types": [
                {
                    "name": "alias",
                    "count": 1,
                    "index_count": 1
                },
                {
                    "name": "binary",
                    "count": 1,
                    "index_count": 1
                },
                {
                    "name": "boolean",
                    "count": 87,
                    "index_count": 22
                },
                {
                    "name": "date",
                    "count": 185,
                    "index_count": 91
                },
                {
                    "name": "double",
                    "count": 5,
                    "index_count": 2
                },
                {
                    "name": "float",
                    "count": 4,
                    "index_count": 1
                },
                {
                    "name": "geo_point",
                    "count": 4,
                    "index_count": 3
                },
                {
                    "name": "half_float",
                    "count": 12,
                    "index_count": 1
                },
                {
                    "name": "integer",
                    "count": 144,
                    "index_count": 29
                },
                {
                    "name": "ip",
                    "count": 2,
                    "index_count": 1
                },
                {
                    "name": "keyword",
                    "count": 1939,
                    "index_count": 109
                },
                {
                    "name": "knn_vector",
                    "count": 1,
                    "index_count": 1
                },
                {
                    "name": "long",
                    "count": 158,
                    "index_count": 92
                },
                {
                    "name": "nested",
                    "count": 25,
                    "index_count": 10
                },
                {
                    "name": "object",
                    "count": 420,
                    "index_count": 91
                },
                {
                    "name": "text",
                    "count": 1768,
                    "index_count": 102
                }
            ]
        },
        "analysis": {
            "char_filter_types": [],
            "tokenizer_types": [],
            "filter_types": [],
            "analyzer_types": [],
            "built_in_char_filters": [],
            "built_in_tokenizers": [],
            "built_in_filters": [],
            "built_in_analyzers": [
                {
                    "name": "english",
                    "count": 1,
                    "index_count": 1
                }
            ]
        }
    },
    "nodes": {
        "count": {
            "total": 1,
            "coordinating_only": 0,
            "data": 1,
            "ingest": 1,
            "master": 1,
            "cluster_manager": 1,
            "remote_cluster_client": 1
        },
        "versions": [
            "1.2.4"
        ],
        "os": {
            "available_processors": 6,
            "allocated_processors": 6,
            "names": [
                {
                    "name": "Linux",
                    "count": 1
                }
            ],
            "pretty_names": [
                {
                    "pretty_name": "Amazon Linux 2",
                    "count": 1
                }
            ],
            "mem": {
                "total_in_bytes": 6232674304,
                "free_in_bytes": 1452658688,
                "used_in_bytes": 4780015616,
                "free_percent": 23,
                "used_percent": 77
            }
        },
        "process": {
            "cpu": {
                "percent": 0
            },
            "open_file_descriptors": {
                "min": 970,
                "max": 970,
                "avg": 970
            }
        },
        "jvm": {
            "max_uptime_in_millis": 108800629,
            "versions": [
                {
                    "version": "15.0.1",
                    "vm_name": "OpenJDK 64-Bit Server VM",
                    "vm_version": "15.0.1+9",
                    "vm_vendor": "AdoptOpenJDK",
                    "bundled_jdk": true,
                    "using_bundled_jdk": true,
                    "count": 1
                }
            ],
            "mem": {
                "heap_used_in_bytes": 178956256,
                "heap_max_in_bytes": 536870912
            },
            "threads": 112
        },
        "fs": {
            "total_in_bytes": 62725623808,
            "free_in_bytes": 28442726400,
            "available_in_bytes": 25226010624
        },
        "plugins": [
            {
                "name": "opensearch-index-management",
                "version": "1.2.4.0",
                "opensearch_version": "1.2.4",
                "java_version": "1.8",
                "description": "OpenSearch Index Management Plugin",
                "classname": "org.opensearch.indexmanagement.IndexManagementPlugin",
                "custom_foldername": "",
                "extended_plugins": [
                    "opensearch-job-scheduler"
                ],
                "has_native_controller": false
            },
            {
                "name": "opensearch-security",
                "version": "1.2.4.0",
                "opensearch_version": "1.2.4",
                "java_version": "1.8",
                "description": "Provide access control related features for OpenSearch 1.0.0",
                "classname": "org.opensearch.security.OpenSearchSecurityPlugin",
                "custom_foldername": "opensearch-security",
                "extended_plugins": [],
                "has_native_controller": false
            },
            {
                "name": "opensearch-cross-cluster-replication",
                "version": "1.2.4.0",
                "opensearch_version": "1.2.4",
                "java_version": "1.8",
                "description": "OpenSearch Cross Cluster Replication Plugin",
                "classname": "org.opensearch.replication.ReplicationPlugin",
                "custom_foldername": "",
                "extended_plugins": [],
                "has_native_controller": false
            },
            {
                "name": "opensearch-job-scheduler",
                "version": "1.2.4.0",
                "opensearch_version": "1.2.4",
                "java_version": "1.8",
                "description": "OpenSearch Job Scheduler plugin",
                "classname": "org.opensearch.jobscheduler.JobSchedulerPlugin",
                "custom_foldername": "",
                "extended_plugins": [],
                "has_native_controller": false
            },
            {
                "name": "opensearch-anomaly-detection",
                "version": "1.2.4.0",
                "opensearch_version": "1.2.4",
                "java_version": "1.8",
                "description": "OpenSearch anomaly detector plugin",
                "classname": "org.opensearch.ad.AnomalyDetectorPlugin",
                "custom_foldername": "",
                "extended_plugins": [
                    "lang-painless",
                    "opensearch-job-scheduler"
                ],
                "has_native_controller": false
            },
            {
                "name": "opensearch-performance-analyzer",
                "version": "1.2.4.0",
                "opensearch_version": "1.2.4",
                "java_version": "1.8",
                "description": "OpenSearch Performance Analyzer Plugin",
                "classname": "org.opensearch.performanceanalyzer.PerformanceAnalyzerPlugin",
                "custom_foldername": "",
                "extended_plugins": [],
                "has_native_controller": false
            },
            {
                "name": "opensearch-reports-scheduler",
                "version": "1.2.4.0",
                "opensearch_version": "1.2.4",
                "java_version": "1.8",
                "description": "Scheduler for Dashboards Reports Plugin",
                "classname": "org.opensearch.reportsscheduler.ReportsSchedulerPlugin",
                "custom_foldername": "",
                "extended_plugins": [
                    "opensearch-job-scheduler"
                ],
                "has_native_controller": false
            },
            {
                "name": "opensearch-asynchronous-search",
                "version": "1.2.4.0",
                "opensearch_version": "1.2.4",
                "java_version": "1.8",
                "description": "Provides support for asynchronous search",
                "classname": "org.opensearch.search.asynchronous.plugin.AsynchronousSearchPlugin",
                "custom_foldername": "",
                "extended_plugins": [],
                "has_native_controller": false
            },
            {
                "name": "opensearch-knn",
                "version": "1.2.4.0",
                "opensearch_version": "1.2.4",
                "java_version": "1.8",
                "description": "OpenSearch k-NN plugin",
                "classname": "org.opensearch.knn.plugin.KNNPlugin",
                "custom_foldername": "",
                "extended_plugins": [
                    "lang-painless"
                ],
                "has_native_controller": false
            },
            {
                "name": "opensearch-alerting",
                "version": "1.2.4.0",
                "opensearch_version": "1.2.4",
                "java_version": "1.8",
                "description": "Amazon OpenSearch alerting plugin",
                "classname": "org.opensearch.alerting.AlertingPlugin",
                "custom_foldername": "",
                "extended_plugins": [
                    "lang-painless"
                ],
                "has_native_controller": false
            },
            {
                "name": "opensearch-observability",
                "version": "1.2.4.0",
                "opensearch_version": "1.2.4",
                "java_version": "1.8",
                "description": "OpenSearch Plugin for OpenSearch Dashboards Observability",
                "classname": "org.opensearch.observability.ObservabilityPlugin",
                "custom_foldername": "",
                "extended_plugins": [],
                "has_native_controller": false
            },
            {
                "name": "opensearch-sql",
                "version": "1.2.4.0",
                "opensearch_version": "1.2.4",
                "java_version": "1.8",
                "description": "OpenSearch SQL",
                "classname": "org.opensearch.sql.plugin.SQLPlugin",
                "custom_foldername": "",
                "extended_plugins": [],
                "has_native_controller": false
            }
        ],
        "network_types": {
            "transport_types": {
                "org.opensearch.security.ssl.http.netty.SecuritySSLNettyTransport": 1
            },
            "http_types": {
                "org.opensearch.security.http.SecurityHttpServerTransport": 1
            }
        },
        "discovery_types": {
            "zen": 1
        },
        "packaging_types": [
            {
                "type": "tar",
                "count": 1
            }
        ],
        "ingest": {
            "number_of_pipelines": 0,
            "processor_stats": {}
        }
    }
}

응답 본문 필드

다음 표는 응답 필드를 나열해요.

Field Data type Description
_nodes Object 노드 수준 요청 결과의 요약을 제공해요.
_nodes.total Integer 요청에 포함된 총 노드 수예요.
_nodes.successful Integer 요청을 성공적으로 처리한 노드 수예요.
_nodes.failed Integer 응답하지 않거나 요청을 거부한 노드 수예요. 0이 아니면 실패 세부 정보가 응답에 포함돼요.
cluster_name String 클러스터의 이름이에요.
cluster_uuid String 클러스터의 고유 식별자예요.
timestamp Long 클러스터 통계가 마지막으로 업데이트된 시간(epoch 이후 밀리초)이에요.
status String 클러스터 상태예요: green, yellow, red.
indices Object 지정된 노드에 샤드가 있는 인덱스에 대한 집계 통계예요.
indices.count Integer 지정된 노드에 샤드가 있는 총 인덱스 수예요.
indices.shards Object 지정된 노드에 대한 집계 샤드 통계예요.
indices.shards.total Integer 지정된 노드의 총 샤드 수예요.
indices.shards.primaries Integer 지정된 노드의 primary 샤드 수예요.
indices.shards.replication Float 지정된 노드에서 replica 샤드와 primary 샤드의 비율이에요.
indices.shards.index.shards.min Integer 인덱스당 최소 샤드 수(지정된 노드의 샤드만 고려)예요.
indices.shards.index.shards.max Integer 인덱스당 최대 샤드 수(지정된 노드의 샤드만 고려)예요.
indices.shards.index.shards.avg Float 인덱스당 평균 샤드 수(지정된 노드의 샤드만 고려)예요.
indices.shards.index.primaries.min Integer 인덱스당 최소 primary 샤드 수(지정된 노드의 샤드만 고려)예요.
indices.shards.index.primaries.max Integer 인덱스당 최대 primary 샤드 수(지정된 노드의 샤드만 고려)예요.
indices.shards.index.primaries.avg Float 인덱스당 평균 primary 샤드 수(지정된 노드의 샤드만 고려)예요.
indices.shards.index.replication.min Float 인덱스당 최소 복제 계수(지정된 노드의 샤드만 고려)예요.
indices.shards.index.replication.max Float 인덱스당 최대 복제 계수(지정된 노드의 샤드만 고려)예요.
indices.shards.index.replication.avg Float 인덱스당 평균 복제 계수(지정된 노드의 샤드만 고려)예요.
indices.docs Object 지정된 노드의 문서 통계예요.
indices.docs.count Integer 지정된 노드의 모든 primary 샤드에 걸친 삭제되지 않은 총 문서 수예요. Lucene 세그먼트의 문서를 포함하며 중첩 문서를 셀 수도 있어요.
indices.docs.deleted Integer 지정된 노드의 모든 primary 샤드에 걸친 삭제된 총 문서 수예요. 디스크 공간은 세그먼트 병합 중에 회수돼요.
indices.store.size_in_bytes Long 지정된 노드의 모든 샤드의 총 저장소 크기(바이트)예요.
indices.store.reserved_in_bytes Long 세그먼트 병합 같은 진행 중인 작업을 위해 예약된 디스크 공간(바이트)이에요.
indices.fielddata.memory_size_in_bytes Long 지정된 노드에서 field data 캐시가 사용하는 총 메모리(바이트)예요.
indices.fielddata.evictions Long 지정된 노드에서 field data 캐시 제거 수예요.
indices.query_cache.memory_size_in_bytes Long 지정된 노드에서 query cache가 사용하는 총 메모리(바이트)예요.
indices.query_cache.total_count Long 지정된 노드에서 query cache 접근(hit와 miss)의 총수예요.
indices.query_cache.hit_count Long 지정된 노드에서 query cache hit 수예요.
indices.query_cache.miss_count Long 지정된 노드에서 query cache miss 수예요.
indices.query_cache.cache_size Integer 지정된 노드에서 query cache의 현재 항목 수예요.
indices.query_cache.cache_count Long 제거된 항목을 포함해 query cache에 추가된 총 항목 수예요.
indices.query_cache.evictions Long 지정된 노드에서 query cache 제거 수예요.
indices.completion.size_in_bytes Long 지정된 노드에서 completion suggester가 사용하는 총 메모리(바이트)예요.
indices.segments Object 지정된 노드의 세그먼트 통계예요.
indices.segments.count Integer 지정된 노드의 모든 샤드에 걸친 총 세그먼트 수예요.
indices.segments.memory_in_bytes Long 지정된 노드에서 세그먼트가 사용하는 총 메모리(바이트)예요.
indices.segments.terms_memory_in_bytes Long 지정된 노드에서 용어 사전이 사용하는 메모리(바이트)예요.
indices.segments.stored_fields_memory_in_bytes Long 지정된 노드에서 저장된 필드가 사용하는 메모리(바이트)예요.
indices.segments.term_vectors_memory_in_bytes Long 지정된 노드에서 term vector가 사용하는 메모리(바이트)예요.
indices.segments.norms_memory_in_bytes Long 지정된 노드에서 정규화 계수가 사용하는 메모리(바이트)예요.
indices.segments.points_memory_in_bytes Long 지정된 노드에서 포인트 값(숫자 또는 지리)이 사용하는 메모리(바이트)예요.
indices.segments.doc_values_memory_in_bytes Long 지정된 노드에서 doc values가 사용하는 메모리(바이트)예요.
indices.segments.index_writer_memory_in_bytes Long 지정된 노드에서 인덱스 작성자가 사용하는 메모리(바이트)예요.
indices.segments.version_map_memory_in_bytes Long 지정된 노드에서 버전 맵이 사용하는 메모리(바이트)예요.
indices.segments.fixed_bit_set_memory_in_bytes Long 지정된 노드에서 고정 비트 집합(nested 및 join 필드용)이 사용하는 메모리(바이트)예요.
indices.segments.max_unsafe_auto_id_timestamp Long 재시도된 인덱싱 요청의 가장 최근 타임스탬프(밀리초)예요.
indices.segments.file_sizes Object 이 객체는 클러스터 통계 API로 채워지지 않아요. 세그먼트 파일 정보를 얻으려면 Nodes Stats API를 사용해요.
indices.mappings.field_types Array 지정된 노드에서 사용되는 필드 데이터 유형에 대한 통계예요.
indices.mappings.field_types.name String 필드 데이터 유형이에요.
indices.mappings.field_types.count Integer 이 데이터 유형에 매핑된 필드 수예요.
indices.mappings.field_types.index_count Integer 이 데이터 유형을 사용하는 인덱스 수예요.
indices.analysis Object 지정된 노드에서 사용되는 analyzer와 analysis 구성 요소에 대한 통계예요.
nodes Object 지정된 노드에 대한 집계 통계예요.
nodes.count.total Integer 총 노드 수예요.
nodes.count.coordinating_only Integer 역할이 할당되지 않은 노드(coordinating-only) 수예요.
nodes.count. Integer 특정 역할(예: data, ingest, cluster_manager)을 가진 노드 수예요.
nodes.versions Array 지정된 노드에서 실행 중인 OpenSearch 버전이에요.
nodes.os.available_processors Integer 지정된 노드에서 JVM이 사용할 수 있는 총 프로세서 수예요.
nodes.os.allocated_processors Integer 지정된 노드에서 스레드 풀 크기 조정에 사용되는 프로세서 수(32로 제한)예요.
nodes.os.mem.total_in_bytes Long 지정된 노드의 총 물리 메모리(바이트)예요.
nodes.os.mem.free_in_bytes Long 지정된 노드의 여유 물리 메모리(바이트)예요.
nodes.os.mem.used_in_bytes Long 지정된 노드의 사용 중인 물리 메모리(바이트)예요.
nodes.os.mem.free_percent Integer 지정된 노드의 여유 물리 메모리 비율이에요.
nodes.os.mem.used_percent Integer 지정된 노드의 사용 중인 물리 메모리 비율이에요.
nodes.process.cpu.percent Integer 지정된 노드의 CPU 사용량 비율이에요. 지원되지 않으면 -1을 반환해요.
nodes.process.open_file_descriptors.min Integer 지정된 노드의 최소 열린 파일 디스크립터 수예요. 지원되지 않으면 -1을 반환해요.
nodes.process.open_file_descriptors.max Integer 지정된 노드의 최대 열린 파일 디스크립터 수예요. 지원되지 않으면 -1을 반환해요.
nodes.process.open_file_descriptors.avg Integer 지정된 노드의 평균 열린 파일 디스크립터 수예요. 지원되지 않으면 -1을 반환해요.
nodes.jvm.max_uptime_in_millis Long 지정된 노드에서 JVM 최대 가동 시간(밀리초)이에요.
nodes.jvm.versions Array 지정된 노드에서 실행 중인 JVM 버전에 대한 통계예요.
nodes.jvm.mem.heap_used_in_bytes Long 지정된 노드에서 현재 사용 중인 힙 메모리(바이트)예요.
nodes.jvm.mem.heap_max_in_bytes Long 지정된 노드에서 사용 가능한 최대 힙 메모리(바이트)예요.
nodes.jvm.threads Integer 지정된 노드에서 활성 JVM 스레드의 총수예요.
nodes.fs.total_in_bytes Long 지정된 노드의 총 파일 시스템 용량(바이트)이에요.
nodes.fs.free_in_bytes Long 지정된 노드의 총 할당되지 않은 디스크 공간(바이트)이에요.
nodes.fs.available_in_bytes Long 지정된 노드에서 JVM이 사용할 수 있는 디스크 공간(운영 체제 제한으로 여유 공간보다 적을 수 있음, 바이트)이에요.
nodes.plugins Array 지정된 노드에 설치된 플러그인과 모듈에 대한 정보예요.
nodes.network_types Object 지정된 노드가 사용하는 transport 및 HTTP 네트워크 유형에 대한 통계예요.
nodes.discovery_types Object 지정된 노드가 사용하는 discovery 메커니즘에 대한 통계예요.
nodes.packaging_types Array 지정된 노드에 설치된 배포 유형에 대한 정보예요.
nodes.ingest.number_of_pipelines Integer 지정된 노드의 총 ingest 파이프라인 수예요.
nodes.ingest.processor_stats Object 지정된 노드에서 사용되는 ingest 프로세서에 대한 통계예요.

보안

Security 플러그인을 사용한다면 적절한 권한이 있는지 확인해야 해요: cluster:monitor/stats.

더 알아보기 (Learn more)

  • 특정 노드의 상세한 세그먼트 파일 정보는 Nodes Stats API에서 다뤄요.
  • metric과 index_metric 조합으로 응답 범위를 원하는 지표만 좁혀 확인할 수 있어요.