MongoDB convert timezone for Loganalyzer

88 views
Skip to first unread message

waruna....@gmail.com

unread,
May 7, 2017, 9:23:03 PM5/7/17
to mongodb-user

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 UTC.

any idea to change this for local timezone?

either change MongoDB default timezone or convert timezone on Loganalyzer when output display?

Message has been deleted

waruna....@gmail.com

unread,
May 14, 2017, 7:36:57 PM5/14/17
to mongodb-user
anyone knows how to change it on Loganalyzer when output display?

waruna....@gmail.com

unread,
May 22, 2017, 4:23:24 AM5/22/17
to mongodb-user
I found timezone line is commented on php.ini

    ;date.timezone =
php info says
Default timezone UTC

php.ini timezone changed like below

    date.timezone = "Australia/Melbourne"

and restart HTTPD

now I can see all logs with my time zone

Reply all
Reply to author
Forward
0 new messages