# Time configuration incorrect

**URL:** https://community.graylog.org/t/time-configuration-incorrect/6461
**Category:** Graylog Central (peer support)
**Created:** [August 17, 2018, 7:17am UTC](https://community.graylog.org/t/time-configuration-incorrect/6461 "2018-08-17T07:17:27Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![ale1](https://avatars.discourse-cdn.com/v4/letter/a/8491ac/32.png) [@ale1](https://community.graylog.org/u/ale1)
#### Post date: [August 17, 2018, 7:17am UTC](https://community.graylog.org/t/time-configuration-incorrect/6461/1 "2018-08-17T07:17:27Z")

</div>

Hello,

When I see the time configuration in Graylog, there is different time :

![Capture](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/2X/5/5cb2fde8466fa0009c7334fc2f229cd57ade28c6.png)

I see the graylog configuration file (/etc/graylog/server/server.conf), and the configuration is good :

root\_timezone = Europe/Paris

When I doing the date command on graylog server the time is good

Thanks in advance

---

<div class="post-metadata">

### Author: ![jan](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/jan/32/11_2.png) [@jan](https://community.graylog.org/u/jan)
#### Post date: [August 17, 2018, 8:29am UTC](https://community.graylog.org/t/time-configuration-incorrect/6461/2 "2018-08-17T08:29:50Z")

</div>

please read and understand the comment above this setting in the configuration:

> <https://github.com/Graylog2/graylog2-server/blob/2.4/misc/graylog.conf#L72-L74>

This is the time setting for the hardcoded root user, not the server. The server has always UTC as internal clock and will transform timestamp to the users profile setting timezone.

---

<div class="post-metadata">

### Author: ![ale1](https://avatars.discourse-cdn.com/v4/letter/a/8491ac/32.png) [@ale1](https://community.graylog.org/u/ale1)
#### Post date: [August 17, 2018, 9:07am UTC](https://community.graylog.org/t/time-configuration-incorrect/6461/3 "2018-08-17T09:07:59Z")

</div>

Yes I now but I don’t understand why the time is not good on graylog server.

Because when I doing the date command in server, I’ve this return :

ven. août 17 11:07:22 CEST 2018

---

<div class="post-metadata">

### Author: ![jan](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/jan/32/11_2.png) [@jan](https://community.graylog.org/u/jan)
#### Post date: [August 17, 2018, 9:16am UTC](https://community.graylog.org/t/time-configuration-incorrect/6461/4 "2018-08-17T09:16:41Z")

</div>

I guess you did not get it.

`root_timezone` is the timezone that the user `admin` - the default superuser - has. His profil is not editable, so you can’t set a timezone outside of the configuration file.

Graylog internally use UTC and display the time always as UTC not with the local time setting of the server.

---

<div class="post-metadata">

### Author: ![ale1](https://avatars.discourse-cdn.com/v4/letter/a/8491ac/32.png) [@ale1](https://community.graylog.org/u/ale1)
#### Post date: [August 17, 2018, 9:18am UTC](https://community.graylog.org/t/time-configuration-incorrect/6461/5 "2018-08-17T09:18:04Z")

</div>

> [@jan](#):
>
> I guess you did not get it.
> 
> `root_timezone` is the timezone that the user `admin` - the default superuser - has. His profil is not editable, so you can’t set a timezone outside of the configuration file.
> 
> Graylog internally use UTC and display the time always as UTC not with the local time setting of the server.

OK yes I’ve understand

But two days ago the three time in time configuration are the same

---

<div class="post-metadata">

### Author: ![ale1](https://avatars.discourse-cdn.com/v4/letter/a/8491ac/32.png) [@ale1](https://community.graylog.org/u/ale1)
#### Post date: [August 20, 2018, 7:10am UTC](https://community.graylog.org/t/time-configuration-incorrect/6461/6 "2018-08-20T07:10:53Z")

</div>

So I don’t understand why the Graylog server time is not correct

---

<div class="post-metadata">

### Author: ![ale1](https://avatars.discourse-cdn.com/v4/letter/a/8491ac/32.png) [@ale1](https://community.graylog.org/u/ale1)
#### Post date: [August 20, 2018, 9:25am UTC](https://community.graylog.org/t/time-configuration-incorrect/6461/7 "2018-08-20T09:25:01Z")

</div>

Because in the log in timestamp the time is not correct. It’s the same that the Graylog server

---

<div class="post-metadata">

### Author: ![ale1](https://avatars.discourse-cdn.com/v4/letter/a/8491ac/32.png) [@ale1](https://community.graylog.org/u/ale1)
#### Post date: [August 20, 2018, 11:48am UTC](https://community.graylog.org/t/time-configuration-incorrect/6461/8 "2018-08-20T11:48:03Z")

</div>

Do you have an idea ?

Thanks in advance

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/3X/c/7/c7c09c6b5099570133d6502b83f50ba4430de5b6.png) [@system](https://community.graylog.org/u/system)
#### Post date: [September 3, 2018, 12:15pm UTC](https://community.graylog.org/t/time-configuration-incorrect/6461/10 "2018-09-03T12:15:23Z")

</div>

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