Linelog Event-Timestamp format

rocky marciano cartelluminoso at gmail.com
Fri Sep 23 20:11:53 CEST 2016


Thanks Alan! Its just what i was looking for!


On Fri, Sep 23, 2016 at 3:02 PM, Alan DeKok <aland at deployingradius.com>
wrote:

> On Sep 23, 2016, at 12:00 PM, rocky marciano <cartelluminoso at gmail.com>
> wrote:
> > 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"??
>
>   In v3.0:
>
>         %{date:Event-Timestamp}
>
>   Enable it via:
>
> $ cd raddb/mods-enabled
> $ ln -s ../mods-available/date
>
>   And edit raddb/mods-available/date to get the format you want.
>
>   Alan DeKok.
>
>
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/
> list/users.html
>


More information about the Freeradius-Users mailing list