Hello,
I have a log file, that contains statistics of devices connected to a WiFi interface. The log file a device ID followed by the statistics.
I'm trying to find a way to monitor these statistics, but can't find a solution how to assign statistics to the device ID's.
Example log file:
Dec 29 10 ID:3085 Flows: 4083570 Packets: 417889869 Bytes: 542003885889 Sequence Errors: 0 Bad Packets: 0
Dec 29 10 ID:3088 Flows: 8209950 Packets: 730187808 Bytes: 905311900208 Sequence Errors: 0 Bad Packets: 0
So far I have created separate dependent items from the log file:
ID regex - ID:*([0-9]+)
Regex for Flows, Packets, Bytes.... - Flows. ([0-9]+) Packets. ([0-9]+) Bytes. ([0-9]+) Sequence Errors. ([0-9]+) Bad Packets. ([0-9]+)
I'm having trouble assigning these items to their ID's for monitoring.
I've been looking into discovery rules, but don't see how to implement them for this use case.
I have a log file, that contains statistics of devices connected to a WiFi interface. The log file a device ID followed by the statistics.
I'm trying to find a way to monitor these statistics, but can't find a solution how to assign statistics to the device ID's.
Example log file:
Dec 29 10 ID:3085 Flows: 4083570 Packets: 417889869 Bytes: 542003885889 Sequence Errors: 0 Bad Packets: 0
Dec 29 10 ID:3088 Flows: 8209950 Packets: 730187808 Bytes: 905311900208 Sequence Errors: 0 Bad Packets: 0
So far I have created separate dependent items from the log file:
ID regex - ID:*([0-9]+)
Regex for Flows, Packets, Bytes.... - Flows. ([0-9]+) Packets. ([0-9]+) Bytes. ([0-9]+) Sequence Errors. ([0-9]+) Bad Packets. ([0-9]+)
I'm having trouble assigning these items to their ID's for monitoring.
I've been looking into discovery rules, but don't see how to implement them for this use case.
[0-9]+)
Comment