Linelog Event-Timestamp format

rocky marciano cartelluminoso at
Fri Sep 23 18:00:15 CEST 2016


Im using 3.0.11 version. You are right, it gives me the integer value of
the attribute, in my case the NAS sends a timestamp in attribute
"Event-Timestamp" so when the linelog module dump that attribute to the CSV
as an integer the value corresponds to the timestamp value.

What im trying to do is to convert the timestamp in the "Event-Timestamp"
attribute that the NAS sends to a specific human readable format in the CSV
file. By default, when i configure %{Event-Timestamp} in linelog it dumps
in the CSV the time with this format "Sep 10 2016 16:07:48", when i
configure in linelog %{integer:Event-Timestamp} it dumps in the CSV the
time as a integer, is there a way to tell linelog to dump in the CSV file
the time with this format "09.10.2016 16:07:48"??


On Fri, Sep 23, 2016 at 11:54 AM, Alan DeKok <aland at>

> On Sep 23, 2016, at 10:47 AM, rocky marciano <cartelluminoso at>
> wrote:
> >
> > I've tried that yet, and gives me the date in a timestamp format.
>   No, it doesn't.
>   Either the code works, and gives you the integer date. Or, it complaints
> that "%{integer}" isn't supported.
>   Which version are you running?
>   Did you restart the server after making the configuration change?
>   Alan DeKok.
> -
> List info/subscribe/unsubscribe? See
> list/users.html

More information about the Freeradius-Users mailing list