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 ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...