Can we monitor logs where logfile extension is based on the date and it is keeps changing everyday using logmon probe

book

Article ID: 16118

calendar_today

Updated On:

Products

DX Infrastructure Management NIMSOFT PROBES

Issue/Introduction



Can we monitor logs where logfile extension is based on date and it is keeps on changing everyday using logmon probe

xxxx.%Y%m%d 

eg: log.20170919, log.20170920 

How do we monitor such logs?  

Environment

UIM 8.x
UIM 9.x
UIM 20.x

Resolution

Yes.The below pattern should work with logmon 

xxxx.%Y%m%d 

eg: log.20170919, log.20170920 

Use Time Formatting Primitives 

https://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-enterprise-software/it-operations-management/ca-unified-infrastructure-management-probes/GA/alphabetical-probe-articles/logmon-log-monitoring/logmon-im-configuration/logmon-advanced-im-configuration.html#concept.dita_f85019998d6d855df32fbdb3825e471c05453786_UseTimeFormattingPrimitives