[RADIATOR] logging (radiator and authlog) and accounting to ElasticSearch

Klara Mall klara.mall at kit.edu
Thu Sep 19 12:56:22 CDT 2013


Hi Alexander,

On 09/19/2013 04:57 PM, Alexander Hartmaier wrote:
> Since quite some time I'm looking for a way to customize the accounting
> log file format but the problem I'm having with it is that there seems
> to be no way to log all key/value pairs contained in the accounting
> packet without specifying each name.
> The default format is nice to read but hard to search with e.g. ack or grep.
> I've read that using pipe followed by a program as AcctLogFileName works
> but passing data serialized one log per line to it would also be easier
> for the program to parse the log and pass it on (e.g. JSON serialized).

We ran into the same problem and wrote a perl script which we pipe the
Accounting Log to. It's attached.

radiator config:
AcctLogFileName | /usr/local/bin/radacclog.pl

Regards
Klara

-- 
Karlsruher Institut für Technologie (KIT)
Steinbuch Centre for Computing (SCC)

Klara Mall
Netze und Telekommunikation (NET)
Hermann-von-Helmholtz-Platz 1
76344 Eggenstein-Leopoldshafen
Telefon: +49 721 608-28630
Telefon: +49 721 608-48946
E-Mail: klara.mall at kit.edu
Web: http://www.scc.kit.edu

KIT - Universität des Landes Baden-Württemberg und
nationales Forschungszentrum in der Helmholtz-Gemeinschaft
-------------- next part --------------
A non-text attachment was scrubbed...
Name: radacclog.pl
Type: application/x-perl
Size: 1709 bytes
Desc: not available
Url : http://www.open.com.au/pipermail/radiator/attachments/20130919/0eabe598/attachment.bin 


More information about the radiator mailing list