Let the platform do the work

/Administration/elasticsearch/indices GET

Overview

[ADMIN] Elasticsearch index statistics

Summary

This endpoint returns the index statistics for the Elasticsearch backend. This endpoint is only available to administrators.

Response

{
    "autobr2583_shared":{
        "_shards":{
            "total":1,
            "successful":1,
            "failed":0
        },
        "indices":{
            "autobr2583_shared":{
                "index":{
                    "primary_size_in_bytes":1134148,
                    "size_in_bytes":1134148
                },
                "translog":{
                    "operations":1100
                },
                "docs":{
                    "num_docs":1100,
                    "max_doc":1100,
                    "deleted_docs":0
                },
                "merges":{
                    "current":0,
                    "current_docs":0,
                    "current_size_in_bytes":0,
                    "total":1,
                    "total_time_in_millis":103,
                    "total_docs":1000,
                    "total_size_in_bytes":1138070
                },
                "refresh":{
                    "total":13,
                    "total_time_in_millis":177
                },
                "flush":{
                    "total":0,
                    "total_time_in_millis":0
                },
                "shards":[[{
                    "routing":{
                        "state":"STARTED",
                        "primary":true,
                        "node":"4rjVEVuYQQqKl4sT1FUxNA",
                        "relocating_node":null,
                        "shard":0,
                        "index":"autobr2583_shared"
                    },
                    "state":"STARTED",
                    "index":{
                        "size_in_bytes":1134148
                    },
                    "translog":{
                        "id":1427003304006,
                        "operations":1100
                    },
                    "docs":{
                        "num_docs":1100,
                        "max_doc":1100,
                        "deleted_docs":0
                    },
                    "merges":{
                        "current":0,
                        "current_docs":0,
                        "current_size_in_bytes":0,
                        "total":1,
                        "total_time_in_millis":103,
                        "total_docs":1000,
                        "total_size_in_bytes":1138070
                    },
                    "refresh":{
                        "total":13,
                        "total_time_in_millis":177
                    },
                    "flush":{
                        "total":0,
                        "total_time_in_millis":0
                    }
                }]]
            }
        }
    }
}

Change Log

Version Change
v10 Added /Administration/elasticsearch/indices GET endpoint.

Topics