# How to add locale timezone in metricbeat

**URL:** <https://discuss.elastic.co/t/how-to-add-locale-timezone-in-metricbeat/137845>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [June 28, 2018, 6:37pm UTC](https://discuss.elastic.co/t/how-to-add-locale-timezone-in-metricbeat/137845 "2018-06-28T18:37:40Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [June 28, 2018, 7:41pm UTC](https://discuss.elastic.co/t/how-to-add-locale-timezone-in-metricbeat/137845/2 "2018-06-28T19:41:18Z")

</div>

The correct configuration to have Metricbeat add the locale name in `beat.timezone` is

```auto
processors:
- add_locale:
    format: abbreviation

```

But why do you need this? This processor is usually only needed when the data contained in the event has some relation to the timezone (e.g. has timestamps in logs without timezones or you are interpreting whether a user logon occurred during normal working hours).

Are you trying to change `@timezone` from UTC to your local timezone? If so, the first please see the advice [here](https://discuss.elastic.co/t/how-to-set-timestamp-timezone/28401/2?u=andrewkroh).

---

_[View the full topic](https://discuss.elastic.co/t/how-to-add-locale-timezone-in-metricbeat/137845)._
