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

**URL:** <https://discuss.elastic.co/t/possbile-to-store-date-timezone-into-elasticsearch-via-logstash-output-plugin/171799>\
**Category:** Logstash\
**Created:** [March 11, 2019, 3:56pm UTC](https://discuss.elastic.co/t/possbile-to-store-date-timezone-into-elasticsearch-via-logstash-output-plugin/171799 "2019-03-11T15:56:18Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![kharvey](https://avatars.discourse-cdn.com/v4/letter/k/d07c76/32.png) [@kharvey](https://discuss.elastic.co/u/kharvey)\
**Post date:** [March 11, 2019, 4:12pm UTC](https://discuss.elastic.co/t/possbile-to-store-date-timezone-into-elasticsearch-via-logstash-output-plugin/171799/2 "2019-03-11T16:12:08Z")

</div>

You can try using the date filter in logstash and add a timezone to that.

> **[Date filter plugin | Logstash Reference \[8.11\] | Elastic](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.

> [@How to set @timestamp timezone?](https://discuss.elastic.co/t/how-to-set-timestamp-timezone/28401/17):
>
> Hi, magnusbaeck if I just want to change the @timestamp field, what should I do? the following is my log format: 2016-01-15 09:33:23,650 INFO [127.0.0.1:57799 http-bio-8080-exec-10] com.ins.car.controller.CarOrderController.getInsResult(CarOrderController.java:62) - 2016-01-15 17:33:23,458 getInsResultServlet {....} as you see, there is two times, 2016-01-15 09:33:23,650 and 2016-01-15 17:33:23,458, the first one is %{+yyyy-MM-dd HH:mm:ss,SSS}, the second one comes from the source message

---

_[View the full topic](https://discuss.elastic.co/t/possbile-to-store-date-timezone-into-elasticsearch-via-logstash-output-plugin/171799)._
