# Error: Shards Failed

**URL:** https://forum.opensearch.org/t/error-shards-failed/26173
**Category:** OpenSearch Dashboards
**Created:** [July 30, 2025, 4:27pm UTC](https://forum.opensearch.org/t/error-shards-failed/26173 "2025-07-30T16:27:35Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![threepwood77](https://avatars.discourse-cdn.com/v4/letter/t/ee59a6/32.png) [@threepwood77](https://forum.opensearch.org/u/threepwood77)
#### Post date: [July 30, 2025, 4:27pm UTC](https://forum.opensearch.org/t/error-shards-failed/26173/1 "2025-07-30T16:27:35Z")

</div>

**Versions** (relevant - OpenSearch/Dashboard/Server OS/Browser):

“number” : “7.10.2”

“lucene\_version” : “9.12.1”,

**Describe the issue** :

Hello everyone,

I need your help.  
I installed the Wazuh 4.12 suite on Debian 12.  
I installed my agents, everything is fine, I have the information for each one, everything is OK.  
However, on the dashboard, when I don’t select a machine, I get “Shards Failed” errors message Opensearch.

I don’t know where this is coming from.  
I’ve included the details with the other screenshots.

Thank you for your help.

**Configuration** :

**Relevant Logs or Screenshots**

 ![wazuh-error-B](https://us1.discourse-cdn.com/flex019/uploads/mauve_hedgehog/original/2X/0/0bb1100b645b53f69d5b7f3e9aed3dd178f814ed.png)

---

<div class="post-metadata">

### Author: ![Leeroy](https://avatars.discourse-cdn.com/v4/letter/l/eb9ed0/32.png) [@Leeroy](https://forum.opensearch.org/u/Leeroy)
#### Post date: [July 31, 2025, 6:51am UTC](https://forum.opensearch.org/t/error-shards-failed/26173/2 "2025-07-31T06:51:48Z")

</div>

Hi @threepwood77 ,

You should first get a good understanding of shards [https://opensearch.org/blog/optimize-opensearch-index-shard-size/](https://opensearch.org/blog/optimize-opensearch-index-shard-size/). Another doc to review be - [Cluster settings - OpenSearch Documentation](https://docs.opensearch.org/latest/install-and-configure/configuring-opensearch/cluster-settings/)

Then you could check the health of the cluster and GET /\_cluster/health?pretty and see what shards are failing.

Let me know what you find,

Leeroy.

---

<div class="post-metadata">

### Author: ![threepwood77](https://avatars.discourse-cdn.com/v4/letter/t/ee59a6/32.png) [@threepwood77](https://forum.opensearch.org/u/threepwood77)
#### Post date: [July 31, 2025, 7:39am UTC](https://forum.opensearch.org/t/error-shards-failed/26173/3 "2025-07-31T07:39:07Z")

</div>

Thank you for your reply.  
I looked at both links, but I admit I’m a little lost with all this information…  
Actually, I was already using the Wazuh suite, which uses Opensearch, on another machine and didn’t have this problem after installation.  
I haven’t touched the options, but I’ll check the configuration files to see if there’s a setting I missed…  
Here is the command output:

{  
“cluster\_name” : “wazuh-cluster”,  
“status” : “yellow”,  
“timed\_out” : false,  
“number\_of\_nodes” : 1,  
“number\_of\_data\_nodes” : 1,  
“discovered\_master” : true,  
“discovered\_cluster\_manager” : true,  
“active\_primary\_shards” : 93,  
“active\_shards” : 93,  
“relocating\_shards” : 0,  
“initializing\_shards” : 0,  
“unassigned\_shards” : 6,  
“delayed\_unassigned\_shards” : 0,  
“number\_of\_pending\_tasks” : 0,  
“number\_of\_in\_flight\_fetch” : 0,  
“task\_max\_waiting\_in\_queue\_millis” : 0,  
“active\_shards\_percent\_as\_number” : 93.93939393939394  
}

---

<div class="post-metadata">

### Author: ![Leeroy](https://avatars.discourse-cdn.com/v4/letter/l/eb9ed0/32.png) [@Leeroy](https://forum.opensearch.org/u/Leeroy)
#### Post date: [August 5, 2025, 10:48am UTC](https://forum.opensearch.org/t/error-shards-failed/26173/4 "2025-08-05T10:48:25Z")

</div>

Hi @threepwood77 ,

Did you cross check the configuration to see if you had anything different between configs?

Try using GET \_cat/indices and checking for which are unassigned in the list.

Leeroy.
