Dashboards & Visualizations

How to hide a title on a single value panel in the dashboard?

adubblenie
New Member

Hello,

I want to display two single values on the same line in one panel. Because I only need to use one title for each value, the right value is displaying higher than the left value. I've tried adding in black spaces in the XML to make up for the lack of title, but it's not working. Is there anyway I can fix this? I'm not sure how I would go about fixing it if I used CSS either. Any suggestions?

Tags (5)
0 Karma

fdi01
Motivator

use `` tag to do it like this :

<title>"Value Title"</title>
<description>This example shows description Values </description>
 <row>
 <single>
         <search>
       <query>source="Source" | stats last(StatusCode) as value  | rangemap field=value  low=200-200 default=severe</query>
     </search>
     <option name="classField">range</option>
     <option name="field">value</option>
     <option name="drilldown">none</option>
     <option name="linkView">search</option>
     <option name="underLabel">Availability</option>
   </single>
   <single>
     <search>
       <query>source="Source" | eval value=round((ResponseTime)*1,2) | rangemap field=value  low=0-5 elevated=5-10 default=severe</query>
     </search>
     <option name="classField">range</option>
     <option name="field">value</option>
     <option name="drilldown">none</option>
     <option name="linkView">search</option>
     <option name="underLabel">Performance</option>
   </single>
 </row>
0 Karma

adubblenie
New Member

Thanks, but I think that will give the entire tier a title. I want multiple single values lined up in one panel... have a look at my image here to get a better understanding.

http://imgur.com/nke5RTv

Thanks!

0 Karma

adubblenie
New Member
<panel>
  <title>"Title"</title>
  <single>
    <title>"Value Title"</title>
    <search>
      <query>source="Source" | stats last(StatusCode) as value  | rangemap field=value  low=200-200 default=severe</query>
    </search>
    <option name="classField">range</option>
    <option name="field">value</option>
    <option name="drilldown">none</option>
    <option name="linkView">search</option>
    <option name="underLabel">Availability</option>
  </single>
  <single>
    <search>
      <query>source="Source" | eval value=round((ResponseTime)*1,2) | rangemap field=value  low=0-5 elevated=5-10 default=severe</query>
    </search>
    <option name="classField">range</option>
    <option name="field">value</option>
    <option name="drilldown">none</option>
    <option name="linkView">search</option>
    <option name="underLabel">Performance</option>
  </single>
0 Karma

MichaelPriest
Communicator

I've put your code into a dashboard but I can't see your issue, could you be a little more descriptive please so i can help.

0 Karma

adubblenie
New Member

Sure. I've added the second title back into the code below for better understanding. Because there is a title on the first Single Value, but not the second, the right value is displaying higher on the panel than the left one. I'd like them to be even, so I basically want to trick the code into thinking there is a title on the second Single Value so they display correctly.

 <title>"Value Title"</title>
 <search>
   <query>source="Source" | stats last(StatusCode) as value  | rangemap field=value  low=200-200 default=severe</query>
 </search>
 <option name="classField">range</option>
 <option name="field">value</option>
 <option name="drilldown">none</option>
 <option name="linkView">search</option>
 <option name="underLabel">Availability</option>



 <search>
   <query>source="Source" | eval value=round((ResponseTime)*1,2) | rangemap field=value  low=0-5 elevated=5-10 default=severe</query>
 </search>
 <option name="classField">range</option>
 <option name="field">value</option>
 <option name="drilldown">none</option>
 <option name="linkView">search</option>
 <option name="underLabel">Performance</option>
0 Karma

adubblenie
New Member

Sorry... I noticed the code didn't post correctly.

 <title>"Value Title"</title>
 <search>
   <query>source="Source" | stats last(StatusCode) as value  | rangemap field=value  low=200-200 default=severe</query>
 </search>
 <option name="classField">range</option>
 <option name="field">value</option>
 <option name="drilldown">none</option>
 <option name="linkView">search</option>
 <option name="underLabel">Availability</option>


 <search>
  <title> </title>
   <query>source="Source" | eval value=round((ResponseTime)*1,2) | rangemap field=value  low=0-5 elevated=5-10 default=severe</query>
 </search>
 <option name="classField">range</option>
 <option name="field">value</option>
 <option name="drilldown">none</option>
 <option name="linkView">search</option>
 <option name="underLabel">Performance</option>
0 Karma

adubblenie
New Member

Here's an image of what's happening to give you more clarity.

0 Karma

adubblenie
New Member
0 Karma

stephanefotso
Motivator

Can we get your sample code?

SGF
0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

May 2026 Splunk Expert Sessions: Security & Observability

Level Up Your Operations: May 2026 Splunk Expert Sessions Whether you are refining your security posture or ...

Network to App: Observability Unlocked [May & June Series]

In today’s digital landscape, your environment is no longer confined to the data center. It spans complex ...

SPL2 Deep Dives, AppDynamics Integrations, SAML Made Simple and Much More on Splunk ...

Splunk Lantern is Splunk’s customer success center that provides practical guidance from Splunk experts on key ...