Linelog Event-Timestamp format

Alan DeKok aland at deployingradius.com
Fri Sep 23 16:40:57 CEST 2016


On Sep 23, 2016, at 10:35 AM, rocky marciano <cartelluminoso at gmail.com> wrote:
> 
> Im using linelog module and trying to generate a CSV file with the
> attribute "Event-Timestamp" with a custom format. The problem is that the
> module convert the value to a specific human readable format:
> 
> Accounting-Request {
>                Start = "%{Acct-Status-Type},%{Event-
> Timestamp},%{NAS-IP-Address},%{Framed-IP-Address},%{Called-
> Station-Id},%{Calling-Station-Id},%{Acct-Session-Id}"
> 
> with that configuration I get:
> 
> Start, Sep 10 2016 16:07:48,1.1.1.1,2.2.2.2,test.test,23354566767,
> 36u0qqarui9vlszx
> 
> 
> Is there a way to tell the module a required format for the date?

  Use %{integer:Event-Timestamp} to get the integer value.

  Alan DeKok.




More information about the Freeradius-Users mailing list