In a log file, I have a section which is something similar as below:
Name: HOME_COMPUTER
Description: DELL HOME COMPUTER
Part-Number: 12345-678
Serial-Number: 9AV123AM345
Rev: X2
Dash-Level:
MFG-On: 2012-10-11 08:07:36
Status: OK
From the above lines in the log file, I would like to identify,
for a particular part number (in this case 12345-678),
if the serial number lies with a range (in this case if the 3 digits after the first 3 characters lies with 110 & 150)
if MFG-on is earlier to 12th Dec 2012
then raise an alert
I am a beginer in splunk and would like to have some guidance.
... View more