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

Translate
"jack of all trades, master of none"
Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024