How to get log connections from iControlREST API

Hello,

I would like to know if it is possible to get log connections ( system->logs->Local Traffic ).

I use this url but it does not work.

Thank you.

Best regards

Is this a typo, or are you really trying to use three slashes after https: ?

This a typo. I use https://IP_F5/mgmt/tm/sys/log/ltm/

Hello,

I tried in 11.6.0 HF6 and look likes its not implemented. Last valid values stand here

/mgmt/tm/sys/log/

but there is nothin exploitable.

According to v12.0.0 documentation, this should work but I tried in my lab with no success. The correct uri should be in the form of

/mgmt/tm/sys/log/ltm?lines=10

. You can also specify a range instead of a lines

Hello,

I tried in 11.6.0 HF6 and look likes its not implemented. Last valid values stand here

/mgmt/tm/sys/log/

but there is nothin exploitable.

According to v12.0.0 documentation, this should work but I tried in my lab with no success. The correct uri should be in the form of

/mgmt/tm/sys/log/ltm?lines=10

. You can also specify a range instead of a lines

You can request log contents from iControlREST using /mgmt/tm/sys/log/ltm/stats?options=lines,10

You can request log contents from iControlREST using /mgmt/tm/sys/log/ltm/stats?options=lines,10