Skip to content

Instantly share code, notes, and snippets.

@jkordish
Last active August 29, 2015 14:20
Show Gist options
  • Save jkordish/1a0b8a915750f3896dba to your computer and use it in GitHub Desktop.
Save jkordish/1a0b8a915750f3896dba to your computer and use it in GitHub Desktop.
handy one-liner for checking ElasticSearch recovery
curl -s localhost:9200/_recovery | jq '.["indice"] | .shards[] | select(.index.files.percent != "100.0%") | { id: .id , percent: .index.files.percent, host: .target.host}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment