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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...