Skip to main content
Mohammed_Waked
New Member
Feb 21, 2025 5:20 PM UTC
Solved

filter the api request for logs

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 

funkylicious
SuperUser
Feb 21, 2025 5:42 PM UTC

try rows as param, &rows=1000

"jack of all trades, master of none"

1 reply

funkylicious
SuperUser
SuperUser
Feb 21, 2025 5:42 PM UTC

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.
Security Operations Summit: Modernize SecOps. Operate AI-Native.AMER: November 4 | 9:00 AM PST. India and SAARC: November 5 | 10:00 AM IST. EMEA: November 5 | 10:30 AM CET. APAC: November 5 | 11:00 AM SGT