Dashboards & Visualizations

How do I edit my Simple XML to have inputs in their own separate row in a dashboard?

HattrickNZ
Motivator

This is my skeleton of a dashboard with a fieldset with a sample input, followed by some panels with charts:

     <form>
  <label>dashboard name</label>

    <fieldset autoRun="true" submitButton="false">
    <input type="dropdown" token="label_name">
    <label>labelNAME:</label>
    <choice value="label1">label1</choice>
    <choice value="label2">label2</choice>
    <default>label1</default>
    </input>
    </fieldset>

    <row>
        <panel>
            <chart>

            ...

            </chart>
        </panel>
    </row>
    <row>
        <panel>
            <chart>

            ...

            </chart>
        </panel>
    </row>
    <row>
        <panel>
            <chart>

            ...

            </chart>
        </panel>
    </row>
</form>

so this looks like:

input 
row with chart
row with chart
row with chart

What I want to do is have something like below, where I want the 2nd input to be in its own row. I do not want it to be in the same panel because this way the chart loses space to make way for the input.

input 
row with chart
row with chart
input
row with chart

Below is an example of me putting the input inside the panel, but as I said above, I do not want this. I want a way to have the input in its own row. Can anyone advise how this can be done?

&lt;row&gt;
        <panel>
    <input type="dropdown" token="label_name">
        <label>labelNAME:</label>
        <choice value="label1">label1</choice>
        <choice value="label2">label2</choice>
        <default>label1</default>
    </input>
            <chart>

            ...

            </chart>
        </panel>
    </row>
0 Karma
1 Solution

HattrickNZ
Motivator

This can be done as follows:

   <row>
         <panel>
     <input type="dropdown" token="label_name">
         <label>labelNAME:</label>
         <choice value="label1">label1</choice>
         <choice value="label2">label2</choice>
         <default>label1</default>
     </input>
            </panel>
     </row>

just put the inputs inside the opening and closing panel tags.

View solution in original post

HattrickNZ
Motivator

This can be done as follows:

   <row>
         <panel>
     <input type="dropdown" token="label_name">
         <label>labelNAME:</label>
         <choice value="label1">label1</choice>
         <choice value="label2">label2</choice>
         <default>label1</default>
     </input>
            </panel>
     </row>

just put the inputs inside the opening and closing panel tags.

Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...