get_log_settings
Retrieve a FortiGate device's log destination settings—memory, disk, syslog, FortiAnalyzer, and FortiCloud—in one view to verify where logs are sent.
Instructions
Show where the device sends logs: memory, disk, syslog, FortiAnalyzer and FortiCloud settings in one view.
Parameters:
device_id: Identifier of the FortiGate device
vdom: Virtual Domain name (optional)
Returns:
One line per log destination with status, server and key options
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": {
"device_id": "<device_id>"
},
"name": "get_log_settings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vdom | No | Virtual Domain | |
| device_id | Yes | FortiGate device identifier |