srinidhi12
May 03, 2023Cirrostratus
F5 Logs API 400 error
Hi All,
I am trying to fetch the logs using F5 Rest API, but when I ran the query with filter range:
curl -sku admin:admin@123 -H "Content-Type: application/json" -X GET https://192.168.0.153/mgmt/tm/sys/log/ltm/stats?options=range,2023-02-21T13:48:34Z,lines,1000
I get 400 error:
[{"code":400,"message":"No log message found that matches query. File may be empty\n","errorStack":[],"apiError":3}]
Wanted to know the exact meaning of this error, is there any documentation for the F5 API Error messages.