Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,9 @@ $ check_elasticsearch health -U exampleuser -P examplepassword
Checks the total hits/counts of an Elasticsearch query (using a query_string query type: [Link to Docs](https://www.elastic.co/docs/reference/query-languages/query-dsl/query-dsl-query-string-query)).

The plugin can count the number of documents based on a provided query string
and then compare it to the given thresholds
and then compare it to the given thresholds.

The warning and critical flags support thresholds in the common Nagios format (e.g. `~:10`).

With the `--msgkey` flag extracts a value from a given field and shows in in the output.
This is intended to show message/body/log field values in the plugin output.
Expand Down