es-status.pl - Simple ElaticSearch Status Checks
version 3.3
es-status.pl --health --verbose --color
Options: --help print help --manual print full manual
Query Modes: --health Display overall cluster health (--verbose shows more detail) --node Display node details (--verbose shows more detail) --segments Display segmentation details (--verbose shows more detail) --settings Display index settings (--verbose shows more detail)
--all Run all handlers!
Some options may be specified in the /etc/es-utils.yaml or $HOME/.es-utils.yaml file:
--- host: esproxy.example.com port: 80 timeout: 10
From CLI::Helpers:
--data-file Path to a file to write lines tagged with 'data => 1' --color Boolean, enable/disable color, default use git settings --verbose Incremental, increase verbosity --debug Show developer output --quiet Show no output (for cron)
This script is designed to help you get information about the state of the ElasticSearh cluster in a hurry.
Print this message and exit
Runs all the ES Checks at once, this includes: health, node, and segments Used in combination with --verbose for more detail
./es-status.pl --all --verbose
Displays the cluster health, use --verbose to get more information
./es-status.pl --health --verbose
Displays the details on index segmentation, use --verbose to get more information
./es-status.pl --node --verbose
./es-status.pl --segments --verbose
Displays the details on index settings, use --verbose to get more information
./es-status.pl --settings --verbose
Brad Lhotsky <brad@divisionbyzero.net>
This software is Copyright (c) 2012 by Brad Lhotsky.
This is free software, licensed under:
The (three-clause) BSD License
1 POD Error
The following errors were encountered while parsing the POD:
You forgot a '=back' before '=head1'
To install App::ElasticSearch::Utilities, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::ElasticSearch::Utilities
CPAN shell
perl -MCPAN -e shell install App::ElasticSearch::Utilities
For more information on module installation, please visit the detailed CPAN module installation guide.