AnsweredAssumed Answered

Issue with combining shell commands into logmon probe

Question asked by UCOP_Admin on Jul 22, 2015
Latest reply on Sep 11, 2015 by UCOP_Admin

It is fairly common to use log read arguments that automatically select a logfile with current date in it as in this example:

 

cat daily_ctmag_$(date +"%Y%m%d").log

 

which would cat the file daily_ctmag_20150722.log

Currently, we have to specify the exact filename without the shell automation which makes it impossible to track hundreds of log files that are rolled every midnight.

Using the aforementioned shell command causes the file not to be read at all. The logmon probe responds with nothing.

 

Is there a known workaround for this?

 

Thanks in advance!

Outcomes