list_loki_label_values
Retrieve all unique values for a specific label within a Loki datasource and time range to analyze log data patterns and filter queries effectively.
Instructions
Retrieves all unique values associated with a specific labelName within a 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 | |
labelName | Yes | The name of the label to retrieve values for | |
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"
},
"labelName": {
"description": "The name of the label to retrieve values for",
"type": "string"
},
"startRfc3339": {
"description": "The start time of the query in RFC3339 format",
"type": "string"
}
},
"required": [
"datasourceUid",
"labelName"
],
"type": "object"
}