Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
field stats: added stats filtering option
Field stats filter allows to filter out field stats results for indices that have no field values in the defined range. This is useful to for example find all indices that have logs within a certain date range. This option is only useful is the `level` option is set to `indices`. The following request only returns field stats for indices that have `_timestamp` date values between the defined range. The response format remains the same compared to if no field stats filtering is enabled. curl -XPOST 'http://localhost:9200/_field_stats?level=indices' -d '{ "fields" : { <1> "_timestamp" : { <2> "gte" : "2014-01-01T00:00:00.000Z", "lt" : "2015-01-01T00:00:00.000Z" } } }' Closes #11187
- Loading branch information
Showing
13 changed files
with
667 additions
and
13 deletions.
There are no files selected for viewing
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
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
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
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
Oops, something went wrong.