I have below files which are getting generated on daily basis and have to capture some keywords from it. files looks like.....
Description - 20181224T100002.log ( 2018 - Year, 12 - Month, 24 - Date and then alphanumeric it can be T100001 or T100002)
I am trying to create regex to read the same but no luck and seeking help please.
this is what I am using -
/opt/tmp/prima-batch-%Y%m%d%Z.log or /opt/tmp/prima-batch-%Y%m%d%*.log Please advise.
Simran Jeet Bhagat
This document shows it without the % after d, %Y%m%d
Can we monitor logs where logfile extension is bas - CA Knowledge
here is the doc page on it
Hello David, Thanks for the information/article. however in our case log file is end with some alphanumeric character. we are good till date format and looking for some help " how to capture alphanumeric stiff" Please advise if we can use some wild character in the regex to capture this.
Looking forward for other recommendations.