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!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...