Convert timezone on Loganalyzer when output display

General discussions here

Google Ads


Convert timezone on Loganalyzer when output display

Postby warunac » Wed May 17, 2017 2:59 am

I have installed rsyslog-8.26.0, loganalyzer-4.1.5 and MongoDB 3.4.4 on CentOS7. MongoDB stores all dates and times in UTC and I can see data on Loganalyzer also display UTC time.

is the Best way convert timezone on Loganalyzer when output display ? or change MongoDB default timezone to my local timezone?

How can I do it ?
warunac
New
 
Posts: 2
Joined: Mon May 08, 2017 12:48 am

Urgent Question?

  • Pulling out your Hair?
  • Wasting Time and Money?
  • Deadline Approaching?

Re: Convert timezone on Loganalyzer when output display

Postby warunac » Mon May 22, 2017 9:20 am

I found timezone line is commented on php.ini

Code: Select all
    ;date.timezone =

php info says
Default timezone UTC

php.ini timezone changed like below

Code: Select all
   date.timezone = "Australia/Melbourne"


and restart HTTPD

now I can see all logs with my time zone
warunac
New
 
Posts: 2
Joined: Mon May 08, 2017 12:48 am

Google Ads



Return to General

Who is online

Users browsing this forum: No registered users and 1 guest

cron