Logmon date and time format for incremental log monitoring

book

Article ID: 206868

calendar_today

Updated On:

Products

DX Infrastructure Management CA Unified Infrastructure Management for z Systems CA Unified Infrastructure Management On-Premise (Nimsoft / UIM) CA Unified Infrastructure Management SaaS (Nimsoft / UIM) NIMSOFT PROBES

Issue/Introduction

We are trying to setup monitoring using logmon with the log filename containing a date and time which are constantly incrementing.

Here is the sample log name: TextLog_21.01.02_03.24.36.log

When I try to use this format it's not accepted and returns "Open file: Failed" Unable to locate

Logmon mode: Update

File: /base/logs/testims00/logs/server1/TextLog_%y.%m.%d_%H.%M%.S.log

Note: The log is on a Linux machine

Environment

Release : 9.2.0

Component : UIM LOGMON 4.11 or higher

Resolution

In this particular case the customer ended up using this syntax:

   TextLog_%y.%m.%d_********.log

For example, for this sample logfile name format-> TextLog_21.01.02_03.24.36.log

mode = update

Additional Information

Format: TextLog_%y.%m.%d_%H.%M.%S.log