Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add filter support to search types (Graylog2/graylog-plugin-enterpris…
…e#217) new filter type: query_string for the ES backend, aggregation based search types will add a top-level filter aggregation with the corresponding expression message list does not support filters yet, because we would need to differentiate between have a single message list (top level hits) and multiple ones (filter aggs + top_hist subaggs) and we aren't sure about performance impacts yet. fixes Graylog2/graylog-plugin-enterprise#170 An example for a query string filter: { "queries": [ { "id": "1", "timerange": { "type": "absolute", "from": "2018-01-16T12:00:00.000Z", "to": "2018-01-16T14:00:00.000Z" }, "query": { "type": "elasticsearch", "query_string": "*" }, "search_types": [ { "type": "aggregation", "id": "vals", "filter": { "type":"query_string", "query":"nf_version:9" }, "groups": [ { "type": "values", "field": "nf_version", "metrics": [ { "type": "count" } ] } ] } ] } ] }
- Loading branch information
1 parent
7bfbd26
commit c1254af
Showing
19 changed files
with
243 additions
and
44 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
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
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.