Splunk Search

How do I alter the width of 3 single values to fit in a single row within a panel?

Zubism
Loves-to-Learn

I've got 3 single values and I'd like to put them into a row within a panel. The problem is that the last single value jumps to the row below. Is there any way to reduce the size or width to allow for all 3 single values to always be in the row no matter what size the browser window is at ? 

Zubism_0-1671454252228.png

 

Labels (1)
0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @Zubism,

could you share your code?

you should be able to put all the three Single Panels in the same row.

Ciao.

Giuseppe

0 Karma

Zubism
Loves-to-Learn
<panel>
      <title>Single Values</title>
      <single>
        <title>Single value 1</title>
        <search>
          <query>***</query>
          <earliest>-24h@h</earliest>
          <latest>now</latest>
        </search>
        <option name="drilldown">none</option>
        <option name="numberPrecision">0.000</option>
        <option name="rangeColors">["0x53a051","0x0877a6","0xf8be34","0xf1813f","0xdc4e41"]</option>
        <option name="refresh.display">progressbar</option>
        <option name="underLabel">percentage</option>
        <option name="unit">%</option>
        <option name="useColors">0</option>
      </single>
      <single>
        <title>Single Value 2</title>
        <search>
          <query>***</query>
          <earliest>-7d@h</earliest>
          <latest>now</latest>
        </search>
        <option name="drilldown">none</option>
        <option name="numberPrecision">0.000</option>
        <option name="rangeColors">["0x53a051","0x0877a6","0xf8be34","0xf1813f","0xdc4e41"]</option>
        <option name="refresh.display">progressbar</option>
        <option name="underLabel">percentage</option>
        <option name="unit">%</option>
        <option name="useColors">0</option>
      </single>
      <single>
        <title>Single value 3</title>
        <search>
          <query>***</query>
          <earliest>-30d@d</earliest>
          <latest>now</latest>
        </search>
        <option name="drilldown">none</option>
        <option name="numberPrecision">0.000</option>
        <option name="rangeColors">["0x53a051","0x0877a6","0xf8be34","0xf1813f","0xdc4e41"]</option>
        <option name="refresh.display">progressbar</option>
        <option name="underLabel">percentage</option>
        <option name="unit">%</option>
        <option name="useColors">0</option>
      </single>
    </panel>
0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @Zubism,

did you tried to use separate panels?

<row>
   <panel>
      <title>Single Values</title>
      <single>
        <title>Single value 1</title>
        <search>
          <query>***</query>
          <earliest>-24h@h</earliest>
          <latest>now</latest>
        </search>
        <option name="drilldown">none</option>
        <option name="numberPrecision">0.000</option>
        <option name="rangeColors">["0x53a051","0x0877a6","0xf8be34","0xf1813f","0xdc4e41"]</option>
        <option name="refresh.display">progressbar</option>
        <option name="underLabel">percentage</option>
        <option name="unit">%</option>
        <option name="useColors">0</option>
      </single>
   </panel>
   <panel>
      <single>
        <title>Single Value 2</title>
        <search>
          <query>***</query>
          <earliest>-7d@h</earliest>
          <latest>now</latest>
        </search>
        <option name="drilldown">none</option>
        <option name="numberPrecision">0.000</option>
        <option name="rangeColors">["0x53a051","0x0877a6","0xf8be34","0xf1813f","0xdc4e41"]</option>
        <option name="refresh.display">progressbar</option>
        <option name="underLabel">percentage</option>
        <option name="unit">%</option>
        <option name="useColors">0</option>
      </single>
   </panel>
   <panel>
      <single>
        <title>Single value 3</title>
        <search>
          <query>***</query>
          <earliest>-30d@d</earliest>
          <latest>now</latest>
        </search>
        <option name="drilldown">none</option>
        <option name="numberPrecision">0.000</option>
        <option name="rangeColors">["0x53a051","0x0877a6","0xf8be34","0xf1813f","0xdc4e41"]</option>
        <option name="refresh.display">progressbar</option>
        <option name="underLabel">percentage</option>
        <option name="unit">%</option>
        <option name="useColors">0</option>
      </single>
    </panel>
</row>

Ciao.

Giuseppe

 

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