Splunk Search

using depends + tokens + chart not spaning the full dashboard/screen width after checking checkbox

HattrickNZ
Motivator

I am using a checkbox to show/hide multiple rows. I have some rows that have a single chart that spans the full width of the screen.
But when I load the dashboard, the charts in question are hiding, and when I tick the check box to show the charts/rows, the charts appear but they only span half the width of the screen, aligned to the left.

I can do a refresh on the panel/chart and the chart will refresh and then span the full width of the screen.

How do I rectify this so that when the charts show they show at the full screen with.

this is my skeleton below:

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

<row>
    <panel>
        <input type="checkbox" token="show_more_token" searchWhenChanged="true">
        <choice value="show more details">show more details</choice>
        </input>
    </panel>
</row>

<row depends="$show_more_token$">
    <panel>
         <chart>

         ...

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

<row depends="$show_more_token$">
    <panel>
         <chart>

         ...

         </chart>
    </panel>
</row>
<row depends="$show_more_token$">
 <panel>
     <chart>

     ...

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

test

0 Karma

HattrickNZ
Motivator

have splunk 6.3 now and this seems to have fixed this.

0 Karma
Get Updates on the Splunk Community!

Shape the Future of Splunk: Join the Product Research Lab!

Join the Splunk Product Research Lab and connect with us in the Slack channel #product-research-lab to get ...

Auto-Injector for Everything Else: Making OpenTelemetry Truly Universal

You might have seen Splunk’s recent announcement about donating the OpenTelemetry Injector to the ...

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...