Using Date Histogram aggregation, we will see how we can create buckets on a date field. In the process, we will go through the following stages:
- Creating buckets across time periods
- Using a different time zone
- Computing other metrics within sliced time intervals
- Focusing on a specific day and changing intervals