i am trying to parse log files (text files) by searching multiple
variables and i cant seem to tie them all together through regex or
pipelining properly.
here are all the things i am trying to parse through:
- log date entry- i want to only accept entries between certain hours
of the day (i.e - 9am to 5pm (17:00:00)
- if between those hours then i want search for a keyword and output
all lines with both these positive conditions of hour and keyword to a
text file then...
- count all entries per hour and output seperate hour count
- count all entries per day and out day count.
is this possible :)
--
jlo