send_logs_to_loki
Send custom log entries to Loki for centralized log aggregation, enabling correlation between custom events and system metrics.
Instructions
Send custom log entries to Loki for centralized log aggregation.
This tool allows manual log injection into the Loki log aggregation system, enabling correlation between custom events and system metrics.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"log_message": "<log_message>"
},
"name": "send_logs_to_loki"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | No | Log level (debug, info, warning, error, critical) | info |
| labels | No | Additional labels to attach to the log entry (max 10 key-value pairs) | |
| log_message | Yes | The log message to send |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||