radius.log on DB

Olivier Beytrison olivier at heliosnet.org
Mon Mar 25 11:05:47 CET 2013


On 25.03.2013 09:26, AemNet wrote:
> Hi everybody
> 
>  is there any way log the requests for the radius in a DB like MySQL? In
> other words is possible to put radius.log entry in a DB without use the
> local system syslog daemon?

This is not possible directly from freeradius.

What you can do, is tell FreeRadius to log to your syslog deamon (like
syslog-ng) and then tell syslog-ng to write the log within an INSERT
statement for your database. Then you can send this to your database.

Those two links might help you :
http://wiki.freeradius.org/guide/Syslog-HOWTO
http://vermeer.org/docs/1

But this is beyond the scope of the freeradius list

Olivier


More information about the Freeradius-Users mailing list