How my logs are stored in elasticsearch UTC or IST

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

Regards

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.

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

Hi @shrikantgulia,

what kind of error do you get? It would be nice if you could write up a complete reproduction scenario, including index and mapping creation and an example piece of data that fails to index. Plus the errors/responses you get. Preferably as curl snippets or kibana console snippets.

@HenningAndersen
Thankyou for the response.... Sorted it
as while querying data i was facing an error
as my IST epoch was going as UTC epoch so i had to define it as IST.

Regards

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