Created
March 12, 2017 20:57
-
-
Save crocker/357a22cae4c0c29e58a2f5a75f019abd to your computer and use it in GitHub Desktop.
Basic Elasticsearch histogram
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
{ | |
"aggs": { | |
"histogram": { | |
"date_histogram": { | |
"field": "date", | |
"interval": "month" | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment