Alan, I've tried that yet, and gives me the date in a timestamp format. I was wondering if there is a way to configure linelog to give me the date with this format: "09.10.2016 16:07:48" instead of what im getting "Sep 10 2016 16:07:48"? Thanks, On Fri, Sep 23, 2016 at 11:40 AM, Alan DeKok <aland@deployingradius.com> wrote:
On Sep 23, 2016, at 10:35 AM, rocky marciano <cartelluminoso@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.
- List info/subscribe/unsubscribe? See http://www.freeradius.org/ list/users.html