Elastic Search Cluster has unassigned Shards

Please format your code using </> icon as explained in this guide. It will make your post more readable.

Or use markdown style like:

```
CODE
```

It can take sometime before everything gets recovered.
Check the pending tasks.

Probably you have to wait.

That said, out of curiosity, why do you have 5 nodes but only 2 data nodes?