Possbile to store date timezone into elasticsearch via logstash output plugin..?

Hi

Elastic, kibana, logtash - 6.6.1
Centos 7.6

Have I understood correctly, that all the date column data that are stored to elasticsearch, these are stored as UTC time..?
(Meaning, when elasticsearch has stored a value "2019-03-11 15:00:00", then this is always UTC time..?)

If, so, can I somehow store some other timezone data to elasticsearch..?
I am asking because, what if I have a value in database stored as UTC+2h, and using logstash, I want to store this data to elasticsearch.

Regards
Raul

You can try using the date filter in logstash and add a timezone to that.
https://www.elastic.co/guide/en/logstash/current/plugins-filters-date.html#plugins-filters-date-timezone

Also, you may try taking a look at this thread to see if it answers your question as well.

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