NLS Dashboard shows wrong time frame

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Sampath.Basireddy
Posts: 252
Joined: Wed Dec 14, 2016 12:30 pm

NLS Dashboard shows wrong time frame

Post 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.
You do not have the required permissions to view the files attached to this post.
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: NLS Dashboard shows wrong time frame

Post by cdienger »

By default the graph will adjust for the browser's timezone. Try setting it to UTC instead.
You do not have the required permissions to view the files attached to this post.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Sampath.Basireddy
Posts: 252
Joined: Wed Dec 14, 2016 12:30 pm

Re: NLS Dashboard shows wrong time frame

Post 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?
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: NLS Dashboard shows wrong time frame

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.