Page 1 of 1

NLS Dashboard shows wrong time frame

Posted: Tue Jan 29, 2019 1:13 pm
by Sampath.Basireddy
On NLS Dashboard, am seeing time mismatch when I compare the time setup in NLS or on the Server.

Time is set to UTC on both Server and NLS Console, data in dashboard is off by 12hrs when compared with UTC Time.

Time on Servers:

Code: Select all

[root@nlsp1 ~]# date
Tue Jan 29 18:08:14 UTC 2019
[root@aunlsauditp1 ~]#

[root@nlsp2 ~]# date
Tue Jan 29 18:08:12 UTC 2019
[root@aunlsauditp2 ~]#
Current UTC is time is around 6pm UTC, but the dashboard shows data until 6am 01/29/2019.

Attaching the screenshots.

Please suggest.

Re: NLS Dashboard shows wrong time frame

Posted: Tue Jan 29, 2019 3:38 pm
by cdienger
By default the graph will adjust for the browser's timezone. Try setting it to UTC instead.

Re: NLS Dashboard shows wrong time frame

Posted: Thu Jan 31, 2019 11:22 am
by Sampath.Basireddy
Thanks @cdienger.

If I go ahead and change the Cluster Timezone to CST or PST, would that update the timestamp of logs in NLS and Server time as well?

Re: NLS Dashboard shows wrong time frame

Posted: Thu Jan 31, 2019 2:43 pm
by cdienger
It won't change anything that is already in the system, but it can change how new data is inserted. When data comes in it will try to determine the timestamp and adjust it to UTC before saving it in @timestamp.