get_service_logs
Retrieve recent systemd service logs to diagnose issues, monitor service behavior, and troubleshoot problems on Linux systems.
Instructions
Get recent logs for a specific systemd service.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| service_name | Yes | Name of the systemd service | |
| lines | No | Number of log lines to retrieve. | |
| host | No | Remote host to connect to via SSH |