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!

Observability Unlocked: Kubernetes Monitoring with Splunk Observability Cloud

 Ready to master Kubernetes and cloud monitoring like the pros? Join Splunk’s Growth Engineering team for an ...

Update Your SOAR Apps for Python 3.13: What Community Developers Need to Know

To Community SOAR App Developers - we're reaching out with an important update regarding Python 3.9's ...

October Community Champions: A Shoutout to Our Contributors!

As October comes to a close, we want to take a moment to celebrate the people who make the Splunk Community ...