Title
Create new category
Edit page index title
Edit category
Edit link
Elastic Healthcheck Commands
The elastic subcommand in Accelo Healthcheck helps you diagnose and manage Elasticsearch-related issues. It provides commonly used Elasticsearch diagnostic and maintenance operations through a single, secure command interface.
To view all available subcommands and flags, run:
xxxxxxxxxxaccelo admin hc elastic --helpAvailable Subcommands
aliascluster-healthcluster-settingsdeletehealth-reportshard-count
Default Behavior
By default, the following command lists all Elasticsearch indices for the specified environment:
xxxxxxxxxxaccelo admin hc elastic -e <environment>Commonly Used Flags
| Flag | Description |
|---|---|
| -d <hostname/ip> | Specifies a custom Elasticsearch host if it is running on a different server |
| -i <index-name/regex> | Filters one or more indices by name or regular expression |
| -w | Displays output in a wide format |
| -p <port> | Specifies a non-default Elasticsearch port |
Sample Output: List Indices
xxxxxxxxxxaccelo admin hc elastic -e <environment>Example output:
xxxxxxxxxx╔════════╦════════════════════════════════════╦═══════════════╦══════════╦═══════════╦════════════╗║ HEALTH ║ INDEX ║ PRIMARY SHARD ║ REPLICAS ║ DOC COUNT ║ STORE SIZE ║╚════════╩════════════════════════════════════╩═══════════════╩══════════╩═══════════╩════════════╝Commands
Alias
Retrieves alias information for one or more indices.
Command:
xxxxxxxxxxaccelo admin hc elastic alias -e <environment>Sample output:
xxxxxxxxxx{ "actions_service-axn-actions_service-2025.01.28": { "aliases": {} }}Cluster Health
Retrieves the health status of the Elasticsearch cluster.
Command:
xxxxxxxxxxaccelo admin hc elastic cluster-health -e <environment>Sample output:
xxxxxxxxxxINFO: elastic cluster health{ "active_primary_shards": 355, "active_shards": 355, "active_shards_percent_as_number": 98.61111111111111, "cluster_name": "elasticsearch", "delayed_unassigned_shards": 0, "initializing_shards": 0, "number_of_data_nodes": 1, "number_of_in_flight_fetch": 0, "number_of_nodes": 1, "number_of_pending_tasks": 0, "relocating_shards": 0, "status": "yellow", "task_max_waiting_in_queue_millis": 0, "timed_out": false, "unassigned_shards": 5}Cluster Settings
Retrieves cluster-wide persistent and transient settings.
Command:
xxxxxxxxxxaccelo admin hc elastic cluster-settings -e <environment>Sample output:
Delete Index
Deletes one or more indices from the Elasticsearch cluster.
To delete multiple indices, give -m flag, when -m is used -i flag can be used as regex and multiple indices can be deleted.
Sample output:
Health Report
Retrieves a detailed health report for the Elasticsearch cluster.
Command:
Shard Count
Updates the number of shards configured for the Elasticsearch cluster.
Command:
Sample output:
After updating the shard count, use the cluster-settings command to verify the change.
For additional help, contact www.acceldata.force.com OR call our service desk +1 844 9433282
Copyright © 2026