I want to monitor a log file that's on Linux on SCOM.
The log is from postgresql. The path is /var/lib/pgsql/9.4/data/pg_log/postgresql-2017-08-21.log
.
The thing is, that if I put that string it works, but I can't seem to make it work with wildcards for the dates.
I already tried /var/lib/pgsql/9.4/data/pg_log/postresql-%Y-%m-%d.log
but no luck.
Any thoughts?