Forum Discussion
F5 Logs API 400 error
Hi,
Can you add "/stats" to the end of the command and try?
curl -sku admin:admin@123 -H "Content-Type: application/json" -X GET https://192.168.0.106/mgmt/tm/sys/log/ltm/stats
K41550738: Viewing BIG-IP log files using the iControl REST API
https://my.f5.com/manage/s/article/K41550738
I have tried this command with /stats as well, still getting the same error
I get the error only for few log types.
- PauliusMay 03, 2023MVP
srinidhi12 You might consider validating the user password and permissions. If you believe it to be correct I would create a new local user with the appropriate permissions and run the command with that users credentials.
- srinidhi12May 03, 2023Cirrostratus
I have tried by creating new user with proper permission to access the logs. I have also tried with admin role which has all the permissions. But I get this error for few log types and not for other log types
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com