F5 is upgrading its customer support chat feature on My.F5.com. Chat support will be unavailable from 6am-10am PST on 1/20/26. Refer to K000159584 for details.

Forum Discussion

respe84's avatar
respe84
Icon for Nimbostratus rankNimbostratus
Apr 28, 2016

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

 

6 Replies

  • Is this a typo, or are you really trying to use three slashes after https: ?
  • 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

    • labilbo_133663's avatar
      labilbo_133663
      Historic F5 Account

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

       

  • 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

    • labilbo_133663's avatar
      labilbo_133663
      Historic F5 Account

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