Splunk Search

Making all pie charts in a row in same vertical

smanojkumar
Communicator

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!

Labels (1)
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!

.conf24 | Day 0

Hello Splunk Community! My name is Chris, and I'm based in Canberra, Australia's capital, and I travelled for ...

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

 (view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...