265 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
1
vote
0
answers
102
views
How filter logs from windows by filename in Grafana Loki?
I'm trying to list logs from Loki in Grafana, and filter them by filename.
Logs are coming into Loki from Promtail agent on Windows.
Here is my scrape_config part:
scrape_configs:
- job_name: '...
1
vote
0
answers
43
views
Grafana settings
I am creating a Grafana dashboard to display some prometheus metrics. I was able to create a Variables in Settings, which is a list of endpoint. So in the dashboard, each graph could display specific ...
0
votes
0
answers
80
views
Referencing Key/Value custom variable with another custom variable in grafana
I'm trying to set up two custom variables in Grafana, GCP and project, with a dependent relationship between them.
Here is the setup:
The first variable is GCP, which is a custom variable with key-...
0
votes
0
answers
65
views
How can I display a dynamic label on the alert summary using Grafana builder format?
My goal is simple. I want to know the correct grafana variables syntax to display these metrics labels (I am using Google Cloud Monitoring as data source):
screenshot 1
And put it here: screenshot 2
...
0
votes
0
answers
272
views
Grafana Variable - Split by comma and display all unique values
In Grafana v11.4.0, I enable Variable in Query Options using PromQL and I get the following response.
Query Type: Label Values
All
Apple, Orange, Grape
Onion, Apple, Grape, Strawberry
But I wanted to ...
0
votes
0
answers
44
views
embedding Grafana dashboard
I have a frontend developed in ReactJS, and a JAVA REST API as backend. Users authenticate and a JWT Token is used in subsequent requests.
One feature we are trying to implement is to embed a Grafana ...
0
votes
0
answers
61
views
Replacing influxdb tag with string in Grafana
I have been struggling with this issue for a while and I cant seem to figure out how to do it.
I am using Grafana with InfluxDB as a source using flux query.
The InfluxDB has a bunch of fields like &...
0
votes
0
answers
68
views
How to Dynamically Change Line Width in Grafana Time Series Panel Based on a Boolean Variable?
I want to create a filter in Grafana that controls the line width of a time series within a single panel. Specifically:
When the filter is set to true, the line width should be 1.
When the filter is ...
1
vote
0
answers
169
views
Preprocessing Grafana label values before using as tag filters in promql
In my grafana dashboard, I have a varible setup which results in values like in the format- name:region:id. So a variable dropdown could be:
au:sydney:0
au:mel:0
nz:wel:1
Now in my question, I want ...
0
votes
1
answer
65
views
Grafana - Elasticsearch dashboard variable does not provide any results
I am trying to set up a logs monitoring where I can filter logs by log.level and labels.Application fields from a .NET application which uses a Serilog sink for Elastic.
I have created a dashboard ...
0
votes
0
answers
62
views
Grafana X Axis Number Sort by not working
I have this PromQL used and I get the expected result in Bar Chart, My Moto is to count the number of devices based on value.
count_values("count", client_snr{exported_job="...
0
votes
0
answers
166
views
if-else condition in Promql using Grafana Variables
I have a custom variable "Project_Name" in Grafana Dashboard. I want to execute below condition unsing Promql query in Stackdriver Metrics datasource(GCP)
if ($Project_Name == 'ALL') then :
...
0
votes
1
answer
440
views
Grafana Prometheus Variable using multiple metrics
I am using Grafana with Data Source Prometheus.
I have 2 metrics which is working fine in table
webex_users{job="pushgateway"}
missed_webex_hosts{job="pushgateway"}
Both the ...
0
votes
1
answer
55
views
Have a user access some values of a variable and not all of them in Grafana?
I have a dashboard in Grafana. I added a variable and it has a lot of values. I want to know if I can hide some of these values from some users. Meaning that some users can only see half of the values ...
2
votes
0
answers
69
views
How to get a Grafana query to provide a time value to use in another query
New Grafana user here.
Desired behaviour: When I select a host and cycleNumber (both variables), panels populate with data collected between a given window of time during that cycle. This window of ...