faz_search_logs
Search FortiAnalyzer logs and retrieve a single page of results, automatically managing the submit, poll, fetch, and cleanup workflow.
Instructions
Run a bounded LogView submit/poll/fetch/cleanup workflow.
This convenience tool returns one result page and always attempts to delete its server-side task on completion, timeout, or error. Failed cleanup stays tracked for a shutdown retry. For manual pagination, use faz_start_log_search and faz_get_log_search instead.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"devices": "<devices>"
},
"name": "faz_search_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| adom | No | ||
| limit | No | ||
| offset | No | ||
| devices | Yes | ||
| end_time | No | ||
| log_type | No | traffic | |
| max_logs | No | ||
| start_time | No | ||
| time_order | No | desc | |
| last_n_hours | No | ||
| case_sensitive | No | ||
| timeout_seconds | No | ||
| filter_expression | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||