Hi, I want to use "Printing as Integers" %{Attribute-Name#}. Using %{Event-Timestamp#} will return the event timestamp as an unsigned 32-bit decimal number. May i use it in linelog ? Debug output: (0) log_acct_bras: EXPAND Accounting-Request.%{%{Acct-Status-Type}:-unknown} (0) log_acct_bras: --> Accounting-Request.Start (0) log_acct_bras: EXPAND /app_log/radius/acct/loaders/bdsl-%D.log (0) log_acct_bras: --> /app_log/radius/acct/loaders/bdsl-20150425.log (0) log_acct_bras: ERROR: %l|%{Acct-Status-Type}|%{Acct-Session-Id}|%{Acct-Unique-Session-Id}|%{User-Name}|%{NAS-IP-Address}|%{Event-Timestamp#}|%{Acct-Session-Time}|%{Connect-Info}|%{Acct-Input-Octets64}|%{Acct-Output-Octets64}|%{Called-Station-Id}|%{Calling-Station-Id}|%{Acct-Terminate-Cause}|%{%{Framed-IP-Address}:-%{Delegated-IPv6-Prefix}:-Unknown}|%{Acct-Delay-Time}|%{Session-Error-Msg}|%{Session-Error-Code} (0) log_acct_bras: ERROR: ^ No matching closing brace Thx
On 25 Apr 2015, at 18:34, Peter Balsianok <balsianok.peter@gmail.com> wrote:
Hi,
I want to use "Printing as Integers" %{Attribute-Name#}. Using %{Event-Timestamp#} will return the event timestamp as an unsigned 32-bit decimal number.
%{integer:Event-Timestamp} Arran Cudbard-Bell <a.cudbardb@freeradius.org> FreeRADIUS development team FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2
participants (2)
-
Arran Cudbard-Bell -
Peter Balsianok