log_get
Retrieve log entries from disk, memory, FortiAnalyzer, or FortiCloud. Supports filters, row limits, and VDOM targeting.
Instructions
Retrieve log entries from disk, memory, FortiAnalyzer, or FortiCloud.
Covers any GET on /api/v2/log/{log_path}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| log_path | Yes | Log API path. Examples: 'disk/traffic/forward', 'memory/event/system', 'fortianalyzer/traffic/local', 'disk/virus/archive' | |
| extra_params | No | Optional JSON string with query params like filters, rows, start. Example: '{"rows": 100, "start": 0, "filter": "srcip==10.0.0.1"}' | |
| vdom | No | Target VDOM name. Defaults to the server default VDOM. Use '*' for all VDOMs (super-admin required). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||