freeradius linelog to UDP
linelogudp {
reference = "Accounting-Request.%{%{Acct-Status-Type}:-unknown}"
}
linelogudp influxdb {
reference = "Accounting-Request.%{%{Acct-Status-Type}:-unknown}"
Accounting-Request {
Interim-Update = "radius,username=%{User-Name} acctsessiontime=%{Acct-Session-Time},acctinputoctets=%{Acct-Input-Octets64},acctoutputoctets=%{Acct-Output-Octets64}"
}
}
#
# Accounting. Log the accounting data.
#
accounting {
# For Exec-Program and Exec-Program-Wait
exec
# linelogudp
influxdb
}