Dear community, anybody using Fortigate API to retrieve log traffic with
this endpoint :
/api/v2/log/disk/traffic/forward/system?filter=srcip==10.227.108.88&rows=10
I can get logs for a specific source or destination IP, but do you know
anyway to get...
Thanks @pminarik , it made the trick !!! For 15 rows of the log result,
filtering on "srcip" curl -k
"https://XXXXXXXXXXX/api/v2/log/memory/traffic/forward?filter=srcip=@"10.65.0.0-10.65.0.255"&rows=15&access_token=XXXXXXXXXXXXXXX"
| jq
'.results[].s...
Thanks for your reply @funkylicious !I get you idea, inspiring from GUI
but looks like API is going on his own way : Several tests giving me
random result (no matching the network) : Double quote, reverse-slash
and double equal : curl -k
"https://XXX...