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!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...