I have a log file that I want search it to find specific strings such as warn , ora-, error
So as The name of the file is fix and just the time of the file that genrate is changing (file name is LIVE-1542.log) so I create follow item
logrt["/storage/dump/LIVE-[0-9]{4}.log",(?i)error|warn|ora-|bank,,,skip]
There are many strings in the file with the name of bank
but in the latest data does not show any data as last value
also as I know (?|) mean the strings are not case sensitive
So as The name of the file is fix and just the time of the file that genrate is changing (file name is LIVE-1542.log) so I create follow item
logrt["/storage/dump/LIVE-[0-9]{4}.log",(?i)error|warn|ora-|bank,,,skip]
There are many strings in the file with the name of bank
but in the latest data does not show any data as last value
also as I know (?|) mean the strings are not case sensitive