Why is aggregation giving UTC?


I'm making some ES aggs and when I do a max/min/stats agg on the @timestamp field, it returns values in UTC. I'd like my values in EST for example. How can I do that? And why is it showing UTC by default?


Elasticsearch uses UTC everywhere, the expectation is that the client does the conversion.

Is there any way to do that in the query/aggregation in ES? Through a script or something? I am pulling the values and displaying them on an interface that doesn't allow scripting, only pure text and it would ideally be done by ES.

Thanks for the response!

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