Hi,
I'm trying to compile a list of all MAC addresses contained within an exported router logfile
Some MAC addresses are recorded in isolation within the DeviceID field.
However there are many more MAC addresses which appear in the "Action" field as part of logged event. IE
2.4G Client associate from AA:f3:61:5a:AA:01 (IP=192.168.1.198) RSSI=-55
ARP [add] br0(wl0) 192.168.1.125 AA:08:16:1a:AA:2a
LAN [ADD] ARP 192.168.1.111 with AA:42:12:aaAA96:b8 from br0(wl0)
WHW INFO A station STA(AA:08:16:1A:A1:AA) leave WHW infrastructure
There are far too many events and variations of those events (different formats and value placements within the strings for a simple LEFT / RIGHT approach
I was thinking along the lines of the inSTR using the colon as the static value in the function, and returning the two characters to either the left or right of the colon?
It's outside my experience however and was hoping someone could help please?
I'm trying to compile a list of all MAC addresses contained within an exported router logfile
Some MAC addresses are recorded in isolation within the DeviceID field.
However there are many more MAC addresses which appear in the "Action" field as part of logged event. IE
2.4G Client associate from AA:f3:61:5a:AA:01 (IP=192.168.1.198) RSSI=-55
ARP [add] br0(wl0) 192.168.1.125 AA:08:16:1a:AA:2a
LAN [ADD] ARP 192.168.1.111 with AA:42:12:aaAA96:b8 from br0(wl0)
WHW INFO A station STA(AA:08:16:1A:A1:AA) leave WHW infrastructure
There are far too many events and variations of those events (different formats and value placements within the strings for a simple LEFT / RIGHT approach
I was thinking along the lines of the inSTR using the colon as the static value in the function, and returning the two characters to either the left or right of the colon?
It's outside my experience however and was hoping someone could help please?