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!

How to Monitor Google Kubernetes Engine (GKE)

We’ve looked at how to integrate Kubernetes environments with Splunk Observability Cloud, but what about ...

Index This | How can you make 45 using only 4?

October 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this ...

Splunk Education Goes to Washington | Splunk GovSummit 2024

If you’re in the Washington, D.C. area, this is your opportunity to take your career and Splunk skills to the ...