You can use The histogram aggregate and use a script with something like 
document[@timestamp].hour

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/93c6d39c-f5b4-449e-bf6e-f28fa05407e1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to