[rsyslog-notify] Forum Thread: Re: Help with Regex parsing - (Mode 'reply')

noreply at adiscon.com noreply at adiscon.com
Fri Jan 30 22:01:01 CET 2015


User: joelb 
Forumlink: http://kb.monitorware.com/viewtopic.php?p=25221#p25221

Message: 
----------
Hi dlang,

I'm trying to extract the individual MAC addresses.
client_mac should equal the 2nd MAC in the string "0a:1c:4a:7e:4c:ac"
ap_mac should equal the 3rd MAC in the string "61:a1:b2:33:4d:5a"  
old_ap_mac should equal the 1st MAC in the string "6d:a1:bc:15:a3:d0" (This
is somehow working, but the other 2 are not)

The "client_mac" is being truncated and are only showing 3 characters. The
"ap_mac" isn't being picked up at all.

Thanks for your help.
Joel


More information about the rsyslog-notify mailing list