Skip to main content
Mohammed_Waked
New Member
February 21, 2025
Solved

filter the api request for logs

  • February 21, 2025
  • 1 reply
  • 1148 views

how can i filter the api request i want to filter the size of logs

{base_url}/api/v2/log/disk/traffic/local?vdom={vdom}&filter=policyid=={policy_id} and _metadata.timestamp>={start_time_ms} and _metadata.timestamp<={end_time_ms}&start={start}&limit={limit}

i want to take just the first 1000 logs but the request show all logs 

Best answer by funkylicious

try rows as param, &rows=1000

1 reply

funkylicious
SuperUser
SuperUser
February 21, 2025

try rows as param, &rows=1000

"jack of all trades, master of none"
Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
Thought Leadership. Security Summit. Thursday, October 8th. Disney's Grand Californian Hotel & SPA, Anaheim, CA.