# Add\_locale processor not refreshing timezone info

**URL:** https://discuss.elastic.co/t/add-locale-processor-not-refreshing-timezone-info/141397
**Category:** Beats
**Created:** [July 24, 2018, 2:04pm UTC](https://discuss.elastic.co/t/add-locale-processor-not-refreshing-timezone-info/141397 "2018-07-24T14:04:41Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![tacomaster](https://avatars.discourse-cdn.com/v4/letter/t/3ab097/32.png) [@tacomaster](https://discuss.elastic.co/u/tacomaster)
#### Post date: [July 24, 2018, 2:04pm UTC](https://discuss.elastic.co/t/add-locale-processor-not-refreshing-timezone-info/141397/1 "2018-07-24T14:04:41Z")

</div>

Recently added the add\_locale processor to a Filebeat instance and its adding the current timezone offset to logs correctly. However, if I change the timezone without restarting Filebeat, the timezone offset reported is the old one. This appears to happen with Winlogbeat as well. For timezone changes to take effect in beats, does a beat need to be restarted or is something bugged in the way the timezone is determined?  
I could see this being a problem with long running beats when a timezone change to standard time to daylight savings.

```
processors:
- add_locale: ~

```

Beat version: 6.3.1  
Operating System: Win 10 x64

---

<div class="post-metadata">

### Author: ![andrewkroh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrewkroh/32/3784_2.png) [@andrewkroh](https://discuss.elastic.co/u/andrewkroh)
#### Post date: [July 24, 2018, 2:32pm UTC](https://discuss.elastic.co/t/add-locale-processor-not-refreshing-timezone-info/141397/2 "2018-07-24T14:32:02Z")

</div>

I believe it caches the timezone from when it was initialized so it would need to be restarted after a change. So perhaps it should refresh the timezone periodically. I wonder how often or what could be used to trigger the refresh.

Can you please open a new github issue for this? [https://github.com/elastic/beats/issues/new](https://github.com/elastic/beats/issues/new)

---

<div class="post-metadata">

### Author: ![tacomaster](https://avatars.discourse-cdn.com/v4/letter/t/3ab097/32.png) [@tacomaster](https://discuss.elastic.co/u/tacomaster)
#### Post date: [July 24, 2018, 3:01pm UTC](https://discuss.elastic.co/t/add-locale-processor-not-refreshing-timezone-info/141397/3 "2018-07-24T15:01:06Z")

</div>

Issue opened: [https://github.com/elastic/beats/issues/7704](https://github.com/elastic/beats/issues/7704)

---

<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: [August 21, 2018, 5:01pm UTC](https://discuss.elastic.co/t/add-locale-processor-not-refreshing-timezone-info/141397/4 "2018-08-21T17:01:07Z")

</div>

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