DOS batch file to capture routers log
Hi,
Please help to write DOS /Perl script to capture router AAA logs to store in file.
RADIUS: id 1, priority 1, host 59.163.6.103, auth-port 1901, acct-port 1902
State: current UP, duration 1928071s, previous duration 0s
Dead: total time 2798488914s, count 0
Authen: request 24164, timeouts 13
Response: unexpected 70, server error 0, incorrect 0, time 23ms
Transaction: success 24118, failure 0
Author: request 24929, timeouts 213
Response: unexpected 0, server error 0, incorrect 0, time 69ms
Transaction: success 24655, failure 70
Account: request 94490, timeouts 35
Response: unexpected 13, server error 0, incorrect 0, time 11ms
Transaction: success 57876, failure 0
Elapsed time since counters last cleared: 8h1m
RADIUS: id 2, priority 2, host 59.163.6.108, auth-port 1901, acct-port 1902
State: current UP, duration 1928071s, previous duration 0s
Dead: total time 1195197667s, count 0
Authen: request 0, timeouts 0
Response: unexpected 0, server error 0, incorrect 0, time 0ms
Transaction: success 0, failure 0
Author: request 70, timeouts 0
Response: unexpected 0, server error 0, incorrect 0, time 94ms
Transaction: success 70, failure 0
Account: request 0, timeouts 0
Response: unexpected 0, server error 0, incorrect 0, time 0ms
Transaction: success 0, failure 0
Elapsed time since counters last cleared: 8h1m