Splunk Search

How to print a static value to a single element panel?

chrisdopuch
Path Finder

Hi there,

I am trying to use a single element panel as a key for understanding the other single element panels which contain some concatenated data. I just want to put the string "Count of Orders | Average Time | 95th Percentile of Time" inside this box. I have tried the following queries as the input:

fieldformat string = "Count of Orders | Average Time | 95th Percentile of Time"

eval string = "Count of Orders | Average Time | 95th Percentile of Time"

with <option name="field">string</option> to set the variable as the input.

I appreciate any help or comments!

0 Karma
1 Solution

martin_mueller
SplunkTrust
SplunkTrust

You can put arbitrary strings into a single value by running this search inside the panel:

| stats count as mytext | eval mytext = "some arbitrary text for the single value panel"

As an entirely different approach, you can put text under a single value by setting the underLabel option, this might help as well.

View solution in original post

martin_mueller
SplunkTrust
SplunkTrust

You can put arbitrary strings into a single value by running this search inside the panel:

| stats count as mytext | eval mytext = "some arbitrary text for the single value panel"

As an entirely different approach, you can put text under a single value by setting the underLabel option, this might help as well.

Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...