Linelog Event-Timestamp format

Alan DeKok aland at deployingradius.com
Fri Sep 23 20:02:11 CEST 2016


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.




More information about the Freeradius-Users mailing list