I haven’t tried this, but looks promising: Extract Loki fields into Grafana variables (workaround)
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Query result used in another query | 5 | 10072 | August 24, 2023 | |
| Extract Loki fields into Grafana variables (workaround) | 2 | 1433 | July 9, 2025 | |
| Using Loki based variable | 3 | 10238 | April 21, 2021 | |
| Dashboard variables in loki query | 1 | 569 | February 1, 2024 | |
| Using A Variable To Filter Loki Results | 1 | 3112 | October 21, 2021 |