Forum Discussion

dfo's avatar
dfo
Icon for Nimbostratus rankNimbostratus
Jun 12, 2018

How to access LTM log through API?

I would like to search in ltm log through the REST API. I'm able to read the last line of log by using the following REST point

https:///mgmt/tm/sys/log/ltm/stats?options=lines,1000

How can I get more than 1000 lines? How can I limit the result using a search similar to the one done in user interface? Is it possible to filter result on timestamp?

1 Reply

  • Did you get this to work?

     

    When I hit my F5 with you Rest string, I get 1000 lines. I can vary the number of lines coming back by changing the number -- 10, 12, etc.