Dashboards & Visualizations

How to refresh only one panel in dashboard.

theouhuios
Motivator

Hello

I am trying to refresh only a select set of panels in a view as other panels don't change the data according to the input. I did try what sideview has mentioned in this link. But what happened is that particular panel has become static and it doesn't refresh according to the input given but all other panels are refreshing. Any ideas?

     <module name="SubmitButton">
    <param name="allowSoftSubmit">True</param>
    <param name="label">Search</param>
    <module name="HiddenSearch" layoutPanel="panel_row1_col1" group="Available Disk Space" autoRun="False">
      <param name="search">earliest=-1h@h latest=@h sourcetype="df" host="$V$" |dedup host| multikv fields Size Used|`rex_space`| table AllocatedSize </param>
      <param name="groupLabel">Available Disk Space</param>
      <module name="ViewstateAdapter">
        <param name="suppressionList">
          <item>field</item>
          <item>afterLabel</item>
          <item>classField</item>
        </param>
        <module name="HiddenFieldPicker">
          <param name="strictMode">True</param>
          <module name="JobProgressIndicator">
            <module name="SingleValue">
              <param name="field">AllocatedSize</param>
              <param name="afterLabel">G</param>
              <param name="classField">range</param>
              <module name="Gimp"/>
            </module>
          </module>
        </module>
      </module>
    </module>

    <module name="HiddenSearch" layoutPanel="panel_row1_col2" group="Used Disk Space" autoRun="False">
      <param name="search">earliest=-1h@h latest=@h sourcetype="df" host="$V$" |dedup host| multikv fields Size Used|`rex_space`|eval perc=((UsedSize)/(AllocatedSize)*100)|eval perc=round(perc)| rangemap field=perc low=0-75 elevated=76-85 high=86-95 default=severe</param>
      <param name="groupLabel">Used Disk Space</param>
      <module name="ViewstateAdapter">
        <param name="suppressionList">
          <item>field</item>
          <item>afterLabel</item>
          <item>classField</item>
        </param>
        <module name="HiddenFieldPicker">
          <param name="strictMode">True</param>
          <module name="JobProgressIndicator">
            <module name="SingleValue">
              <param name="field">perc</param>
              <param name="afterLabel">%</param>
              <param name="classField">range</param>
              <module name="Gimp"/>
            </module>
          </module>
        </module>
      </module>
    </module>

    <module name="HiddenSearch" layoutPanel="panel_row2_col1" group="CPU Availability and Utilization" autoRun="False">
      <param name="search">earliest=-24h@h latest=@h `cpu_avail($V$)`</param>
      <param name="groupLabel">CPU Availability and Utilization</param>
      <module name="ViewstateAdapter">
        <param name="suppressionList">
          <item>charting.axisTitleY.text</item>
          <item>charting.chart</item>
          <item>charting.chart.stackMode</item>
          <item>charting.legend.placement</item>
          <item>charting.axisY.maximumNumber</item>
          <item>charting.chart.nullValueMode</item>
          <item>charting.axisTitleX.text</item>
          <item>charting.secondaryAxis.maximumNumber</item>
          <item>drilldown</item>
        </param>
        <module name="HiddenFieldPicker">
          <param name="strictMode">True</param>
          <module name="JobProgressIndicator">
            <module name="EnablePreview">
              <param name="enable">True</param>
              <param name="display">False</param>
              <module name="HiddenChartFormatter">
                <param name="charting.axisTitleY.text">CPU Availability</param>
                <param name="charting.chart">line</param>
                <param name="charting.chart.stackMode">stacked</param>
                <param name="charting.legend.placement">top</param>
                <param name="charting.chart.nullValueMode">zero</param>
                <param name="charting.axisTitleX.text">CPU Utilization</param>
                <module name="SubmitButton">
                  <param name="label">Refresh</param>
                  <module name="JSChart">
                  <param name="width">100%</param>
                  <module name="Gimp"/>
                  <module name="ConvertToDrilldownSearch">
                    <module name="ViewRedirector">
                      <param name="viewTarget">flashtimeline</param>
                    </module>
                  </module>
                </module>
                </module>

                <module name="ViewRedirectorLink">
                  <param name="viewTarget">flashtimeline</param>
                </module>
              </module>
            </module>
          </module>
        </module>
      </module>
    </module>
Tags (1)
0 Karma
1 Solution

theouhuios
Motivator

Got it. Didn't place the ending module tag enclosing the JSchart module. Thanks

View solution in original post

0 Karma

theouhuios
Motivator

Got it. Didn't place the ending module tag enclosing the JSchart module. Thanks

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[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 ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...