Skip to main content

Dataset Information

Get information, statistics, and configuration details about your datasets.

List All Datasets

Returns statistics for all your datasets.

GET /metadata

Authentication: This request must be authenticated using one of the methods described in the Authentication documentation.

Response:

[
{
"health": "green",
"status": "open",
"index": "logs-prod",
"uuid": "logs-prod-uuid",
"pri": "1",
"rep": "0",
"docs.count": "12456",
"docs.deleted": "0",
"store.size": "2.3mb",
"pri.store.size": "2.3mb"
},
{
"health": "green",
"status": "open",
"index": "metrics-system",
"uuid": "metrics-system-uuid",
"pri": "1",
"rep": "0",
"docs.count": "89012",
"docs.deleted": "0",
"store.size": "15.7mb",
"pri.store.size": "15.7mb"
}
]

Response Fields:

  • health: Dataset health status
  • status: Always "open"
  • index: Dataset name
  • uuid: Unique identifier
  • pri: Primary shards (always "1")
  • rep: Replica count (always "0")
  • docs.count: Total record count
  • docs.deleted: Always "0" (append-only storage)
  • store.size: Human-readable size (b, kb, mb, gb, tb, pb)
  • pri.store.size: Same as store.size (no replicas)

Get Specific Dataset Info

Returns statistics for a specific dataset.

GET /{dataset_name}/metadata

Example:

GET /logs-prod/metadata

Authentication: This request must be authenticated using one of the methods described in the Authentication documentation.

Response:

{
"health": "green",
"status": "open",
"index": "logs-prod",
"uuid": "logs-prod-uuid",
"pri": "1",
"rep": "0",
"docs.count": "12456",
"docs.deleted": "0",
"store.size": "2.3mb",
"pri.store.size": "2.3mb"
}