GET /_cat/health?v&pretty&h=cluster,status,node.total,node.data,shards,pri,relo,init,unassign,pending_tasks,max_task_wait_time,active_shards_percent
Nodes
GET /_cat/nodes?v&pretty&h=version,name,ip,hc,hm,ram.current,ram.max,cpu,load_1m,load_5m,load_15m,disk.avail,disk.used,disk.total,node.role,master&s=name
GET /_cat/nodeattrs?v&pretty&h=node,ip,port,attr,value&s=node
Indices
GET /_cat/aliases?v&pretty
GET /_cat/indices?v&pretty&h=health,status,index,pri,rep,docs.count,docs.deleted,store.size,pri.store.size&s=index:desc
GET /_cat/shards?v&pretty&h=index,shard,prirep,state,docs,store,node&s=state:asc
GET /_cat/segments?v&pretty&h=index,docs.count,docs.deleted,size,size.memory,committed&s=docs.deleted:desc
Effective settings
GET /_cluster/settings?include_defaults=true&flat_settings=true
GET /_cluster/settings?include_defaults=true&flat_settings=true&filter_path=**.cluster.routing.allocation.*
GET /_cluster/settings?include_defaults=true&flat_settings=true&filter_path=**.transport*
GET /_cluster/settings?include_defaults=true&flat_settings=true&filter_path=**.thread_pool*
GET /_cluster/settings?include_defaults=true&flat_settings=true&filter_path=**.indices*
GET /_cluster/settings?include_defaults=true&flat_settings=true&filter_path=**.http*
GET /_nodes?filter_path=**.mlockall
GET /_nodes/stats/process?filter_path=**.max_file_descriptors
GET /_nodes/stats/process?filter_path=**.open_file_descriptors
Index settings
# from + size memory guard; PIT with search_after handles deep pagination.
PUT /INDEX_NAME/_settings
{
"index.max_result_window": 10000
}
# Cache eligible aggregation responses; refresh invalidates affected cache entries.
PUT /INDEX_NAME/_settings
{
"index.requests.cache.enable": true
}
# Default pipeline runs unless the request selects another pipeline; the pipeline must exist.
PUT /INDEX_NAME/_settings
{
"index.default_pipeline": "DEFAULT_PIPELINE"
}
# Final pipeline always runs after the request or default pipeline; the pipeline must exist.
PUT /INDEX_NAME/_settings
{
"index.final_pipeline": "FINAL_PIPELINE"
}
# Alias rollover: attach an existing ILM policy and set WRITE_ALIAS as its write index.
PUT /INDEX_NAME/_settings
{
"index.lifecycle.name": "POLICY_NAME",
"index.lifecycle.rollover_alias": "WRITE_ALIAS"
}
# Block writes for administrative work.
PUT /INDEX_NAME/_settings
{
"index.blocks.write": true
}
# Remove the write block.
PUT /INDEX_NAME/_settings
{
"index.blocks.write": false
}
# Creation only: physical segment sort; matching searches are faster, indexing does more work.
PUT /SORTED_INDEX_NAME
{
"settings": {
"index.sort.field": ["@timestamp"],
"index.sort.order": ["desc"]
},
"mappings": {
"properties": {
"@timestamp": { "type": "date" }
}
}
}
# Static: creation/closed index; best_compression applies after merge and slows stored-field reads.
PUT /COMPRESSED_INDEX_NAME
{
"settings": {
"index.codec": "best_compression"
}
}