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!

Splunk Mobile: Your Brand-New Home Screen

Meet Your New Mobile Hub  Hello Splunk Community!  Staying connected to your data—no matter where you are—is ...

Introducing Value Insights (Beta): Understand the Business Impact your organization ...

Real progress on your strategic priorities starts with knowing the business outcomes your teams are delivering ...

Enterprise Security (ES) Essentials 8.3 is Now GA — Smarter Detections, Faster ...

As of today, Enterprise Security (ES) Essentials 8.3 is now generally available, helping SOC teams simplify ...