How my logs are stored in elasticsearch UTC or IST


(Shrikant) #1

I want to know
how my logs are stored in elasticsearch
IST or UTC

Regards


(Henning Andersen) #2

Hi @shrikantgulia,

the date data type is internally stored as a long representing milliseconds-since-the-epoch (in UTC). See:

https://www.elastic.co/guide/en/elasticsearch/reference/current/date.html

for more information.


(Shrikant) #3

Hello @HenningAndersen thankyou for the response
If my data instance and elastic instance both time zone is IST
and I am getting error while indexing data
I am unable to match @timestamp field to the created field and moreover I had created the dynamic mapping

Regards