Hello guys,
I want to use API call "show logs" to show me all logs. I want to see ALL logs, not only last 100. Is that possible ? Using following commands I am able to get only 100 logs, not more (within 7 days period):
mgmt_cli -s sid.txt show logs new-query.filter "src:10.20.30.40" new-query.time-frame last-7-days --format json
mgmt_cli -s sid.txt show logs query-id "$QUERYID" --format json
Variable QUERYID is fetched from first API call.
First 100 logs are shown, but then if I want to go to the "next page" I am getting following from query-id:
{
"logs" : [ ],
"logs-count" : 100,
"query-id" : "WEB_API_3eb4f228-abff-4cbf-83bb-377bcc3272ad"
}
There are for sure more than 100 logs (checked within SmartView and SmartConsole).
Running latest Take of R80.30.
Kind regards,
Jozko Mrkvicka