Date timezone issue

Hi,
I am pushing some documents to elastic and passing time as local time.
So my question is..
Will that time converts to utc or it will be in local only.

If you don't provide any information regarding the timezone, elasticsearch will consider every date as UTC value.

Hi,
Thankyou for response.

If we send IST time say '2021-03-09 12:30' will it store it as UTC as '2021-03-09 07:00' or it will be same '2021-03-09 12:30'

The date you sent does not have a timezone and I suppose that you don't set anything in the mapping and that you are sending directly to elasticsearch with no ingest pipeline.

So in that case, elasticsearch will consider it as 2021-03-09 12:30 UTC.

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