Created
July 18, 2014 19:07
-
-
Save xcsrz/5ded39ae18f92bad65ee to your computer and use it in GitHub Desktop.
This gets the information to identify the master node in Elasticsearch 0.90.*
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
curl -s "http://localhost:9200/_cluster/state?pretty=true&filter_metadata=true&filter_indices=true&filter_routing_table=true" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment