Splunk Search

Making all pie charts in a row in same vertical

smanojkumar
Contributor

Hi Splunkers!

   How to assign the pie chart in same vertical if we are having dropdown in one specific pie chart.

Having dropdown in one pie chart because of that other pie chart in same row got misaligned, need to have same height of pie charts in the row

 

smanojkumar_0-1696943994774.png

Thanks in Advance!

0 Karma

_JP
Contributor

You can fudge it by editing the XML and creating your own row with empty panel tags.  You will get a warning icon in the edit mode, but it saves and displays fine.  For example:

 

 

 

  <row>
    <panel>
    </panel>
    <panel>
      <input type="dropdown" token="field1" searchWhenChanged="true">
        <label>Component</label>
        <choice value="*">All</choice>
        <default>*</default>
        <fieldForLabel>component</fieldForLabel>
        <fieldForValue>component</fieldForValue>
        <search>
          <query>index=_internal | dedup component | table component | sort component</query>
          <earliest>-24h@h</earliest>
          <latest>now</latest>
        </search>
      </input>
    </panel>
    <panel>
    </panel>
    <panel>
    </panel>
  </row>

 

 

 

Here's a mock-up I did:

 

pie_chart_align.png

 

See the attached XML pdf to see the full SimpleXML for my mockup.

bowesmana
SplunkTrust
SplunkTrust

You can avoid the empty panel warnings by just adding a dummy html panel, i.e.

<panel>
  <html/>
</panel>

 

_JP
Contributor

The real pro-tip is always in the comments. 😂

0 Karma
Get Updates on the Splunk Community!

Index This | Why did the turkey cross the road?

November 2025 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  &#x1f680; Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Feel the Splunk Love: Real Stories from Real Customers

Hello Splunk Community,    What’s the best part of hearing how our customers use Splunk? Easy: the positive ...