Created
October 31, 2014 14:16
-
-
Save johtani/37844527cbd4daf61ed0 to your computer and use it in GitHub Desktop.
Analyze the issue about kibana3 histogram no showing...
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
GET sensu-metrics-2014.10.31/_search | |
{ | |
"facets": { | |
"0": { | |
"date_histogram": { | |
"key_field": "@timestamp", | |
"value_field": "value", | |
"interval": "1m" | |
}, | |
"global": true, | |
"facet_filter": { | |
"fquery": { | |
"query": { | |
"filtered": { | |
"query": { | |
"query_string": { | |
"query": "*" | |
} | |
}, | |
"filter": { | |
"bool": { | |
"must": [ | |
{ | |
"range": { | |
"@timestamp": { | |
"from": 1414674585530, | |
"to": 1414687237345 | |
} | |
} | |
} | |
] | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"size": 0 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment