rediswho and date timestamps
Mike Lopes
mlopes at teksavvy.ca
Wed May 15 20:38:49 CEST 2019
Hi,
I'm in the process of updating our radius servers from 3.0.3 to 3.0.18 and I can't seem to get the unix timestamps into redis the way it is currently done.
Currently my configuration is like this:
start-insert = "LPUSH logs|%{User-Name} %{Event-Timestamp#}, ...
On the new servers I'm building,
Seems like that changed in the current version freeradius. I've been over the documentation and read the configuration files to no avail.
I have tried to use date module, I have tried to use %S and %T from reading a few threads on this list but it keeps failing to convert into unix time..
I've tried this in the preacct section:
update request {
&Event-Timestamp := "%{date:%{Event-Timestamp}}"
}
Can someone point me to the # equivalent to get conversion to unix time?
Thanks.
-Mike
More information about the Freeradius-Users
mailing list