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

Document ID : KB000016118
Last Modified Date : 14/02/2018
Show Technical Document Details
Question:

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.5xUIM 8.4x
Answer:

Yes.The below pattern should work with logmon 

xxxx.%Y%m%d 

eg: log.20170919, log.20170920 

Use Time Formatting Primitives 

https://docops.ca.com/ca-unified-infrastructure-management-probes/ga/en/alphabetical-probe-articles/logmon-log-monitoring/logmon-im-configuration/logmon-advanced-im-configuration#logmonAdvancedIMConfiguration-UseTimeFormattingPrimitives