search cancel

logmon probe -- any way to monitor UTC logs while OS is in a different timezone?

book

Article ID: 257659

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM)

Issue/Introduction

I want to monitor the IIS logs. IIS is configured for daily file roll over, however it is in UTC time, while the OS is in Eastern time. Because of this, we are not able to monitor the last 5 hours of the Eastern time day as the logs roll over to the next day.

 

C:\path\to\logfile\u_ex221128.log

 

 

Environment

Release : 20.3

Cause

Probe limitation

Resolution

This is currently a feature request per development.

Development has these work arounds.


Solution 1:-customer can configure IIS logs to follow local time for file naming and rollover. That way the log file will be generated on EST midnight so there will be no loss of monitoring.(point 7 in below snapshot)

 

Solution 2 :-Customer can also configure IIS logs so that a single log file is generated and it grows in size as information is logged and that file customer can monitor , as name of the file would be same then there will be no loss of monitoring .There is also option of monthly rollover.(see point 6 in below snapshot)

customer can refer this link to see how to configure logging in IIs as per the above-mentioned ways https://learn.microsoft.com/en-us/iis/manage/provisioning-and-managing-iis/configure-logging-in-iis

Solution 3:- Customer can create a script to change the File name and execute it via Dirscan probe.