read_log_file
Retrieve log entries from system log files on Linux servers to monitor events, diagnose issues, and troubleshoot system behavior by specifying file path and line count.
Instructions
Read a specific log file.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| log_path | Yes | Absolute path to the log file (must be in allowed list) | |
| lines | No | Number of lines to retrieve from the end. | |
| host | No | Remote host to connect to via SSH |