elasticsearch-support-diagnostics is an elasticsearch plugin designed to assist users with gathering diagnostic data about their cluster and nodes.
Installation:
./bin/plugin --install elasticsearch/elasticsearch-support-diagnostics/1.0.0
The diagnostic script is installed in ./bin/support-diagnostics.sh.
In order to gather the elasticsearch config and logs you must run support-diagnostics.sh on a node within your elasticsearch cluster. If local data, such as top or netstat are required, it should be run on each node in the cluster. Otherwise, running support-diagnostics.sh on a single node is sufficient.
In most cases no flags are required.
-h This help message
-H Elasticsearch hostname:port (defaults to localhost:9200)
-n On a host with multiple nodes, specify the node name to gather data for. Value should match node.name as defined in elasticsearch.yml (optional)
-o Script output directory (optional, defaults to support-diagnostics.[timestamp].[hostname])
-nc Disable compression (optional)