get_log_labels
Discover what is filterable in the cluster's registered log store before querying: on Loki and VictoriaLogs the label or field names (or one's values via the label parameter, e.g. label='namespace'); on Elasticsearch/OpenSearch the namespace/pod/container values seen in the window. Call this when a query_logs filter returns nothing - the store's label/field names may differ from what you assumed. Every result carries cluster_attribution with the same states as query_logs: on a store that attributes lines to clusters the values are scoped to this cluster (state "attributed", or "requested_absent" when nothing in the window carries this cluster's value); with state "none" the values are not scoped and, if the store is shared by several clusters, may include other clusters' namespaces and pods - say so. Read-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | Loki and VictoriaLogs: return this label's (field's) values instead of the name list (e.g. 'namespace', 'kubernetes.pod_name'). | |
| since | No | Look-back window, e.g. '1h', '24h' (default 1h). | |
| source | No | auto (default): connected, then hosted if absent. Explicit choices never fall back; match queries and labels. | |
| cluster_id | Yes | Ankra cluster id (UUID) the call targets. Discover ids with list_clusters. |