# Aggregation composite with date\_histogram and local timezone

**URL:** <https://discuss.elastic.co/t/aggregation-composite-with-date-histogram-and-local-timezone/162267>\
**Category:** Elasticsearch\
**Created:** [December 27, 2018, 5:00pm UTC](https://discuss.elastic.co/t/aggregation-composite-with-date-histogram-and-local-timezone/162267 "2018-12-27T17:00:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hornov](https://avatars.discourse-cdn.com/v4/letter/h/c67d28/32.png) [@Hornov](https://discuss.elastic.co/u/Hornov)\
**Post date:** [December 27, 2018, 5:00pm UTC](https://discuss.elastic.co/t/aggregation-composite-with-date-histogram-and-local-timezone/162267/1 "2018-12-27T17:00:29Z")

</div>

Hello every body,  
I recently migrated on elastic 6.4 and I dicovered the pretty good composite agg but when I use date\_histogram with "time-zone" : "Europe/Paris" the "after\_key" doesn't work.  
And when I use "time\_zone": "Etc/GMT" the result is perfect.

Is it un bug of this version or does it exist an other way to get what I want ?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [January 24, 2019, 5:00pm UTC](https://discuss.elastic.co/t/aggregation-composite-with-date-histogram-and-local-timezone/162267/2 "2019-01-24T17:00:34Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
