Add this tag to questions regarding Grafana Templating.
Questions tagged [grafana-templating]
188 questions
0
votes
1 answer
How do I remove the landing dashboard from the dashboard list in grafana?
I want to create a panel that shows all the dashboards. This panel is created in another dashboard which I don't want to be present in the list, and it(the dashboard which I want to be absent) is the landing page, starred.
I tried editing the JSON…

Aviral Srivastava
- 4,058
- 8
- 29
- 81
0
votes
1 answer
Display subset of data based on string pattern on template variable dropdown in table panel
Grafana Version: 6.2.5
Elastic search
I have logs data with pattern ERR,INFO,DEBUG
Example “data_ERR_notconnected”, “sys_INFO_connected”, “sys_DEBUG_network”
I am trying to create template variable for ‘marker’ with variable dropdown as…

Swathi Muppalla
- 11
- 3
0
votes
1 answer
Why do Grafana ElasticSearch queries work when hard coded, but fail when using Grafana variable value substitution? and how to fix it?
ElasticSearch query works when hard coded, but fails when using Grafana variable value substitution:
Query: +nginx.access.upstream.response: [*, 1**, 2**, 3**, 4**, 5**, 500]
Each of these queries work when you hard code those values in the…

neoakris
- 4,217
- 1
- 30
- 32
0
votes
1 answer
Grafana Range Value Mapping Issue
I am trying to set my grafana gauge panel using the range value mapping.
I want to set for the valye 1-31 will be return as good and 31 above to not good.
But I tried and it did not change. Not sure why?
Thanks Guys.

qing zhang
- 125
- 1
- 4
- 13
0
votes
1 answer
Unable to build query in Grafana to elastic source in variables templating
I am fighting with build proper query for templated variable in Grafana.
I would like to build query type variable which will take all values from field sourceEnvironment.
Document example:
{
"host" : "10.6.0.132",
"memoryFree" : 927296,
…

Reddy SK
- 1,334
- 4
- 19
- 27
0
votes
1 answer
Grafana: How to check in a query if a single variable is selected or more?
I have a dashboard where I have a variable X for which one or more values can be selected. The data source is postgresql. I have a panel where I make a query to show some trends using X. Up till this point everything is working.
Now, I need to check…

MozenRath
- 9,652
- 13
- 61
- 104
0
votes
1 answer
grafana+prometheus: repeat graf
I'm using stack grafana:6.0.1 + prometheus:v2.7.2 + grafana:6.0.1 to monitor my hosts.
I have created a dashboard in Grafana to visualize metrics per monitored host and I want to dynamically display disk usage of each mount point in separate graf.…

Mr.B
- 3
- 4
0
votes
1 answer
Grafana Query challenge for $ and ^
I was reading some of the query on grafana dashboard.
There is one query I am not quite understand
sum (container_memory_working_set_bytes{pod_name=~"^$Pod$"}) / sum (machine_memory_bytes{kubernetes_io_hostname=~"^$Node$"}) * 100
I understand the…

qing zhang
- 125
- 1
- 4
- 13
0
votes
1 answer
what does the 'up{}' syntax mean?
i've been working on some prometheus templating and whenever i look at other examples of templating i keep encountering this command:
$jobs = label_values(job)
$instance = up{job=~"$jobs"}
i understand that $jobs is a variable being created, but i…

Danny Moncadea
- 55
- 5
0
votes
1 answer
how to add new sublist to Grafana
I am new to Grafana. I have a dashboards like below and I want to add one more list call appmetrics under the kafka metrics. I do not know how to add it. Thank you for the help.
enter image description here

qing zhang
- 125
- 1
- 4
- 13
0
votes
2 answers
Grafana - How to create sql query part variable/macro for Mysql datasource
I have following query in Grafana which is backed by MySql DataSource.
SELECT
$__timeGroupAlias(ts,$__interval),
sum(total) AS "total"
FROM hp
WHERE
$__timeFilter(ts)
AND customer_type IN ($CustomerType) AND age IN ($age) AND gender IN…

dnsh
- 3,516
- 2
- 22
- 47
0
votes
0 answers
Trying to get multi value selection configured for variable in Cloudwatch EC2 dashboard
I am using Cloudwatch data source and trying to get multiple EC2 servers graph in a single panel. I am using region, instanceid and instance name as variables. Everything works fine if I have single value selection configured. it gives me specific…

Meet101
- 711
- 4
- 18
- 35
0
votes
1 answer
Grafana dynamic dashboard
I am a newbie to grafana. I have made dashboards in grafana using MySQL query. For Example:
SELECT TimeOfDay as time,M00B01, M00B00,M00B02
from ABC
where ABC_ID=0;
Now I want to give drop-down option on the dashboard that will allow the user to…

Shrads
- 883
- 19
- 39
0
votes
1 answer
How to escape a column name in Dashboard Variables
How do I escape the column name 'group'?
Grafana is using this as a filtering keyword rather than the column name.

litterbugkid
- 3,534
- 7
- 36
- 54
0
votes
1 answer
Grafana: x-axis text overlapped in Series mode
I am using Grafana to build a histogram like below (Mode is Series, not Time).
The category text at the x-axis are overlapped. Is there a way to break each category text into two or more lines?
Also, why is it saying "data points outside time…

Edamame
- 23,718
- 73
- 186
- 320