Logs Eventlog
logs_eventlogRetrieve LibreNMS event logs for a device or all devices, with filters for hostname, time range, sort order, and pagination.
Instructions
Get event logs for a device from LibreNMS.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "logs_eventlog"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of results to return | |
| start | No | Number of results to skip (offset) for pagination | |
| to_ts | No | End timestamp filter (Unix timestamp or datetime string) | |
| from_ts | No | Start timestamp filter (Unix timestamp or datetime string) | |
| hostname | No | Device hostname or ID. Omit for entries from all devices. | |
| sortorder | No | Sort order: ASC or DESC |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||