Skip to content

Instantly share code, notes, and snippets.

@jworl
Created August 31, 2017 18:45
Show Gist options
  • Save jworl/99ae838e99f01e50af55dade6099ef3f to your computer and use it in GitHub Desktop.
Save jworl/99ae838e99f01e50af55dade6099ef3f to your computer and use it in GitHub Desktop.
display elasticsearch index properties
index=$1
curl -XGET 'http://localhost:9200/${index}?pretty'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment