# Setting up date plugin with Delhi timezone

**URL:** <https://discuss.elastic.co/t/setting-up-date-plugin-with-delhi-timezone/54626>\
**Category:** Logstash\
**Created:** [July 4, 2016, 9:28am UTC](https://discuss.elastic.co/t/setting-up-date-plugin-with-delhi-timezone/54626 "2016-07-04T09:28:51Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![noemie](https://avatars.discourse-cdn.com/v4/letter/n/ce73a5/32.png) [@noemie](https://discuss.elastic.co/u/noemie)\
**Post date:** [July 4, 2016, 9:28am UTC](https://discuss.elastic.co/t/setting-up-date-plugin-with-delhi-timezone/54626/1 "2016-07-04T09:28:51Z")

</div>

Hello,

I'm trying to set up the `@timestamp` based on a log date. The date in the log is in Delhi timezone but the one stored in the `@timestamp` (or another field created to store it) is in London timezone.

Here is my logstash configuration:  
`filter { date { match => ["01_date , "YYYY-MM-dd HH:mm:ss.SSS"] timezone => "Asia/Kolkata" } }`

I even tried with the `locale => "inc"`

None of them worked. Can someone help?

Thanks,  
Noemie

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [July 4, 2016, 11:14am UTC](https://discuss.elastic.co/t/setting-up-date-plugin-with-delhi-timezone/54626/2 "2016-07-04T11:14:22Z")

</div>

The `@timestamp` field is _always_ UTC. Kibana will by default adapt to the browser's timezone.

---

<div class="post-metadata">

**Author:** ![noemie](https://avatars.discourse-cdn.com/v4/letter/n/ce73a5/32.png) [@noemie](https://discuss.elastic.co/u/noemie)\
**Post date:** [July 5, 2016, 4:17am UTC](https://discuss.elastic.co/t/setting-up-date-plugin-with-delhi-timezone/54626/3 "2016-07-05T04:17:29Z")

</div>

Ok. Thank you 🙂

---

<div class="post-metadata">

**Author:** ![Swime](https://avatars.discourse-cdn.com/v4/letter/s/b5a626/32.png) [@Swime](https://discuss.elastic.co/u/Swime)\
**Post date:** [May 24, 2017, 3:19am UTC](https://discuss.elastic.co/t/setting-up-date-plugin-with-delhi-timezone/54626/4 "2017-05-24T03:19:41Z")

</div>

Hello ,you mean it works nothing to convert logstash default time utc to local timezone? Is there any way to solve this problem?thx

---

<div class="post-metadata">

**Author:** ![noemie](https://avatars.discourse-cdn.com/v4/letter/n/ce73a5/32.png) [@noemie](https://discuss.elastic.co/u/noemie)\
**Post date:** [June 7, 2017, 5:57am UTC](https://discuss.elastic.co/t/setting-up-date-plugin-with-delhi-timezone/54626/5 "2017-06-07T05:57:53Z")

</div>

Hello,

The only thing here, for me, was to change my browser settings to Delhi timezone. When you try to convert in Logstash, it won't change a thing for Kibana. I did not try a convert using a mathematical operation on the date to add the jet lag depending on the timezone specified in the log or in the date filter. Maybe it can work but I'm not sure at all 😕

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [November 4, 2022, 4:24am UTC](https://discuss.elastic.co/t/setting-up-date-plugin-with-delhi-timezone/54626/6 "2022-11-04T04:24:01Z")

</div>


