Logger Archive Set
logger_archive_setConfigure log archiving on an fnOS NAS by setting the archive switch and file path. Specify thresholds like size or date to control which logs are archived.
Instructions
设置日志归档配置(写操作;switch/file_path 必填,其余可选)。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | NAS 主机地址(IP 或域名) | |
| port | No | NAS 端口,如 5667(HTTPS)/5666(HTTP)/443 | |
| scheme | No | 传输协议 | |
| switch | Yes | 归档开关状态值 | |
| profile | No | 独立 session profile 名称,默认使用 default | |
| size_gt | No | 大小阈值 | |
| date_unit | No | 日期单位 | |
| file_path | Yes | 归档保存路径(NAS 上) | |
| date_before | No | 归档日期阈值 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |