aboutsummaryrefslogtreecommitdiffstats
path: root/tests/files/search/GET_search_agg_date_histogram_timezone.txt
blob: 0bf992ed69bd4806e2a6b1d9239fe74e26f8dfa7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
GET /my-index-000001/_search?size=0
{
  "aggs": {
    "by_day": {
      "date_histogram": {
        "field":     "date",
        "calendar_interval":  "day",
        "time_zone": "-01:00"
      }
    }
  }
}