get_logrotate_status
Inspect logrotate configuration files and state file path to verify rotation policies. Read-only access to /etc/logrotate.conf and /etc/logrotate.d.
Instructions
Returns logrotate configuration files and the state file path. Read-only from /etc/logrotate.conf and /etc/logrotate.d. Errors land in the errors field. Use to verify rotation policies.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| errors | No | ||
| configs | Yes | ||
| state_file | No |