I am monitoring a log from IIS, the item is defined like this:
logrt["C:\inetpub\logs\LogFiles\W3SVC1\.*log$",,,,,]
and the result is like :
2016-05-19 16:11:51 X.X.X.X GET /coretest/viewpersona.aspx 149453, 80 dom\usuario 100.0.1.128 Mozilla/5.0+(Windows+NT+6.1;+WOW64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/50.0.2661.102+Safari/537.36 http://servidor/coretest/viewpersona.aspx?283202, 200 0 0 562
But i only want to evaluate the last value.
I keep on trying with regex, but dont works, if i put something like this on regex:
\d+$
nothing shows on the log, i try with so many commands in regex but nothing works.
Any idea?
Thanks
logrt["C:\inetpub\logs\LogFiles\W3SVC1\.*log$",,,,,]
and the result is like :
2016-05-19 16:11:51 X.X.X.X GET /coretest/viewpersona.aspx 149453, 80 dom\usuario 100.0.1.128 Mozilla/5.0+(Windows+NT+6.1;+WOW64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/50.0.2661.102+Safari/537.36 http://servidor/coretest/viewpersona.aspx?283202, 200 0 0 562
But i only want to evaluate the last value.
I keep on trying with regex, but dont works, if i put something like this on regex:
\d+$
nothing shows on the log, i try with so many commands in regex but nothing works.
Any idea?
Thanks