Download Log File
fortimail.logs.downloadDownload a FortiMail log file by its mkey to retrieve log contents as UTF-8 text for analysis or troubleshooting.
Instructions
Purpose: POST /v1/logs/download. Response bytes are interpreted as UTF-8 text (use compressed: false for plain text in MCP).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| log_file | Yes | Log file mkey from list | |
| compressed | No | If true, request compressed payload from engine (when supported) |