index/getMany FormID 20302
List all indices accessible to the configured user. Returns each index's name, health status, open/close state, document count, and storage size. Use ReturnAll to retrieve every index on the cluster.
When to Use
- Cluster inventory: Get a full list of indices to display in an admin dashboard or pass to a downstream node for filtering and processing.
- Old index cleanup: Enumerate all time-series indices (e.g.
app-logs-*), filter by name prefix in a downstream node, and pass old indices toindex/deleteas part of a retention policy workflow. - Health monitoring: Check index health status (
green,yellow,red) across the cluster and alert when any index reportsred. - Storage reporting: Sum store sizes across all indices to produce a capacity report, or identify the largest indices for archiving decisions.
Configuration
Connection
| Field | Required | Description |
|---|---|---|
Host | Required | Elasticsearch cluster URL, e.g. https://localhost:9200. |
Username | Optional | Elasticsearch username (required if security is enabled). |
Password | Optional | Password for the specified username. |
IgnoreSSL | Optional | Default false. Skip TLS validation. Development use only. |
Operation
| Field | Required | Description |
|---|---|---|
Limit | Optional | Maximum number of indices to return. Default 50. Ignored when ReturnAll is true. |
ReturnAll | Optional | Default false. When true, returns every accessible index regardless of count. Use for complete cluster inventories and retention workflows. |
Output
Success Port
Returns the list of indices. Each entry in the result corresponds to one index and includes:
| Field | Type | Description |
|---|---|---|
index | string | Index name. |
health | string | Cluster health for this index: green, yellow, or red. |
status | string | open or close. |
docs.count | integer | Number of indexed documents. |
docs.deleted | integer | Number of documents pending deletion (not yet merged away). |
store.size | string | Human-readable store size (e.g. 12.3mb). |
Error Port
Fires on authentication failure, connection error, or if the configured user has no accessible indices. The error output contains errorCode and message fields.
Examples
List All Indices (Default Limit)
{
"resource": "index",
"operation": "getMany"
}
Returns up to 50 indices. Useful for quick cluster inspections or admin UI population.
Full Cluster Inventory
{
"resource": "index",
"operation": "getMany",
"ReturnAll": true
}
Returns every index accessible to the configured user. Pass the result to a loop node and filter by index name prefix to identify old time-series indices for cleanup.
Health Monitoring Workflow
{
"resource": "index",
"operation": "getMany",
"ReturnAll": true
}
After this node, use a filter/transform node to extract entries where health === "red". If any red indices exist, route to a Slack or email alert node with the list of unhealthy indices. Schedule this workflow to run every 15 minutes.