This file contains 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
<Reading the existing plan>: | |
sean@sean-ece-1:~$ curl -u root:<root_pw> -XGET localhost:12400/api/v1/clusters/elasticsearch/6ba13a2b14a44e8bafa6f517f1ad0cbc/plan | |
{ | |
"zone_count": 2, | |
"cluster_topology": [{ | |
"node_type": { | |
"master": false | |
}, | |
"memory_per_node": 1024, |
This file contains 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 | |
# | |
# esdiagdump | |
# | |
# Usage: esdiagdump [-h <hostname/IP>:<port>] [-o <output filename>] | |
# hostname defaults to localhost | |
# output file defaults to current directory/esdiagdump.out.<timestamp> | |
# | |
# This version is no longer being maintained. The current version lives in the elasticsearch/dev/shared/tools repository. |