get_logs
Retrieve log file contents from any managed server instance to troubleshoot issues by specifying instance ID and optional line count or log path.
Instructions
Get log file content from any managed instance.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | No | Number of lines to retrieve. | |
| log_path | No | Log file path. | /var/log/syslog |
| instance_id | Yes | Instance ID, name, or custom-server name. |