get_logs
Retrieve and filter logs from network devices. Specify device name, time range, or keywords to narrow results.
Instructions
Get logs from a network device.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| minutes | No | Number of minutes to filter logs (default: 5 minutes). Can be provided as string or integer. | |
| keywords | No | Optional keywords to filter logs | |
| device_name | Yes | Name of the device in the inventory | |
| show_all_logs | No | If True, return all logs without time filtering (default: False) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nos | Yes | Supported Network Operating Systems | |
| data | No | ||
| status | Yes | Enumeration for network operation status values. Provides type safety and prevents typos when setting or checking operation status in NetworkOperationResult objects. | |
| metadata | No | ||
| ip_address | Yes | ||
| device_name | Yes | ||
| error_response | No | ||
| operation_type | Yes | ||
| feature_not_found_response | No |