Simple question (Request Duration)

Alan DeKok aland at deployingradius.com
Wed Sep 27 17:45:46 UTC 2023


On Sep 27, 2023, at 1:22 PM, Andy Arp <bubbaandy89 at gmail.com> wrote:
> Is there a builtin value i can emit to linelog that will indicate how long
> a given request has taken from start to finish?

  You can use:

	%{expr: %l - %c}

  which gets you the time difference in seconds.  However, that is not generally useful.

  Matthew just added something related to v3.2.x:  https://github.com/FreeRADIUS/freeradius-server/commit/1b4f1d0a622384495ba5529e60822b02b9f2303a

  That will be in the next release.

  Alan DeKok.



More information about the Freeradius-Users mailing list