list_loki_label_names
Retrieve all available label names from Loki log data within a specified time range to identify and filter log entries effectively.
Instructions
Lists all available label names (keys) found in logs within a specified Loki datasource and time range
Input Schema
Name | Required | Description | Default |
---|---|---|---|
datasourceUid | Yes | The UID of the datasource to query | |
endRfc3339 | No | The end time of the query in RFC3339 format | |
startRfc3339 | No | The start time of the query in RFC3339 format |
Input Schema (JSON Schema)
{
"properties": {
"datasourceUid": {
"description": "The UID of the datasource to query",
"type": "string"
},
"endRfc3339": {
"description": "The end time of the query in RFC3339 format",
"type": "string"
},
"startRfc3339": {
"description": "The start time of the query in RFC3339 format",
"type": "string"
}
},
"required": [
"datasourceUid"
],
"type": "object"
}