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

using fortigate API question

hi all

 

ive started using APIs to monitor my fortigate.

but something isn't clear to me.

im trying to use some filters in my API request.

ive try to do so according to API documents but it not preforming any filtering.

im still getting all the out put.

 

e.g.

this call getting all connected devices from device inventory list.

https://{FG-IP}/api/v2/monitor/user/detected-device/select

 

the output is in json format and its a list off all devices and information regarding them.

if i want to get only specific device ive try to filter base on mac address

https://{FG-IP} /api/v2/monitor/user/detected-device/select?filter=mac==b8:94:36:b0:87:94

 

but still im getting the full list.

 

dose anyone have experience with fortigate APIs and can assist here?

 

thanks

 

 

1 REPLY 1
ahiyaz
New Contributor II

any one have an idea?

Labels
Top Kudoed Authors