Why is aggregation giving UTC?

(Kofi) #1


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?


(Mark Walkom) #2

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

(Kofi) #3

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!

(system) #4

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