Created
February 9, 2012 13:48
-
-
Save stevedomin/1780120 to your computer and use it in GitHub Desktop.
Requête ES pour referer
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
{ | |
"query": { | |
"bool": { | |
"must": [ | |
{ | |
"term": { | |
"cs_s_kid": "887911" | |
} | |
} | |
] | |
} | |
}, | |
"facets": { | |
"histo1": { | |
"date_histogram": { | |
"field": "date", | |
"interval": "day" | |
} | |
}, | |
"tags": { | |
"terms": { | |
"field": "referer", | |
"size": 30 | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment