Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
Mohammed_Waked
New Contributor

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 

1 Solution
funkylicious
SuperUser
SuperUser

try rows as param, &rows=1000

"jack of all trades, master of none"

View solution in original post

"jack of all trades, master of none"
1 REPLY 1
funkylicious
SuperUser
SuperUser

try rows as param, &rows=1000

"jack of all trades, master of none"
"jack of all trades, master of none"
Announcements
Check out our Community Chatter Blog! Click here to get involved
Labels
Top Kudoed Authors