Created
March 16, 2016 08:58
-
-
Save aseques/48ebc8b03327076166ba to your computer and use it in GitHub Desktop.
graylog query
This file contains hidden or 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
| { | |
| "from": 0, | |
| "size": 150, | |
| "query": { | |
| "bool": { | |
| "must": { | |
| "query_string": { | |
| "query": "gl2_source_input:56d82de1f8fe7e034a8da1be levelname:WARN", | |
| "allow_leading_wildcard": true | |
| } | |
| }, | |
| "filter": { | |
| "bool": { | |
| "must": { | |
| "range": { | |
| "timestamp": { | |
| "from": "2016-03-16 00:37:37.066", | |
| "to": "2016-03-16 08:37:37.066", | |
| "include_lower": true, | |
| "include_upper": true | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "sort": [ | |
| { | |
| "timestamp": { | |
| "order": "desc" | |
| } | |
| } | |
| ] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment