M_Chris_177125
Dec 03, 2014Nimbostratus
How to Read the LTM Log via API Call?
I am trying to find a way to read the /var/log/ltm logfile via an API or TMSH call? I am not an admin so I only have operator privileges however I can view the logs via the GUI under System->Logs->Local Traffic. I can direct link to this page and scrape the log that way but there is now way for me to use a range and that page only seems to show the current days transactions.
So I am looking for a configurable API call or TMSH call to do this. I have tried the "tmsh show log ltm" command but I get the following:
svc-hpoo-tm@()(cfg-sync Changes Pending)(/S1-green-P:Active)(/Common)(tmos) show log ltm
Syntax Error: "log" unexpected argument
Any idea why I am receiving that error? Thoughts on how to fix that?
Please let me know if anyone has any ideas.
Thanks, Chris