Skip to content

Instantly share code, notes, and snippets.

View seang-es's full-sized avatar

Sean Gallagher seang-es

  • Elastic
  • St Augustine, FL
View GitHub Profile
@seang-es
seang-es / gist:4679b526e5696181390b63daf27e6d43
Last active December 6, 2018 20:32
ECE API plan update
<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,
@seang-es
seang-es / esdiagdump.sh-DEPRECATED
Last active August 29, 2015 14:01
esdiagdump.sh - create log bundle for ES support
#!/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.