I'm a newbie to ELK and did an out-of-the-box setup with ELK 7.2.0 some weeks ago.
After getting familiar with grok patterns I succeeded to ship my different log sources into ES.
While the amount of data grows and I now investigate in backup/snapshots etc., I yesterday (docker) setup "lmenezes/cerebro" utility.
The overview screen shocked me:
Most of my indices have state "unassigned shards".
Your cluster health seems to be yellow indicating that every primary shard is assigned, so the only unassigned shards are replicas. You only have one node, so this is to be expected: all the primaries are assigned on your one node, and Elasticsearch will not assign two copies of the same shard to a single node, so all the replicas are necessarily unassigned.
You can either add a second node to your cluster or else set the number of replicas to 0 on all your current indices to remove the unassigned (and unassignable) replicas:
PUT /_all/_settings
{
"index": {
"number_of_replicas": 0
}
}
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.