How to fix unassigned shard. #15202
-
Version2.4.190 Installation MethodSecurity Onion ISO image Descriptionother (please provide detail below) Installation TypeStandalone Locationon-prem with Internet access Hardware SpecsExceeds minimum requirements CPU1 socket 16 cores RAM48GB Storage for /960GB Storage for /nsm10TB Network Traffic Collectionother (please provide detail below) Network Traffic SpeedsLess than 1Gbps StatusYes, all services on all nodes are running OK Salt StatusNo, there are no failures LogsNo, there are no additional clues DetailElastic Search is in a failed state. I see an unassigned shard and am not sure how to fix: index shard prirep state unassigned.reason Guidelines
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
|
What does this show? |
Beta Was this translation helpful? Give feedback.
-
|
Looks like it is corrupt or stale: [root@seconion10 secadmin]# sudo so-elasticsearch-query _cluster/allocation/explain?pretty Thanks |
Beta Was this translation helpful? Give feedback.
-
|
This fixed my problem. Thanks! |
Beta Was this translation helpful? Give feedback.
If that index is corrupt, you would want to remove it with
DELETE. You can do it inKibana > Stack Management > Index Managementor via the CLI withsudo so-elasticsearch-query .ds-logs-soc-so-2025.10.11-000001 -XDELETEIf you get an error that says you cannot delete because that it the write index for the data stream, then use the rollover API first, then delete it. To rollover the data stream -
sudo so-elasticsearch-query logs-soc-so/_rollover -XPOST