Monitoring Splunk

How o refresh the result in panel whenever new dropdwn is selected?

nithys
Communicator

 

Hi @niketn How to perform an auto refresh once domain/data entity is selected to the result populates.
Next step when i try to click the second option from dropdown,the older result still remain.

Query used:
      <input type="dropdown" token="tokSystem" searchWhenChanged="true">

        <label>Domain Entity</label>

        <fieldForLabel>$tokEnvironment$</fieldForLabel>

        <fieldForValue>$tokEnvironment$</fieldForValue>

        <search>

          <query>| makeresults

          | eval goodsdevelopment="a",materialdomain="b,c",costsummary="d"</query>

        </search>

        <change>

          <condition match="$label$==&quot;a&quot;">

            <set token="inputToken">test</set>

            <set token="outputToken">test1</set>

          </condition>

          <condition match="$label$==&quot;c&quot;">

            <set token="inputToken">dev</set>

            <set token="outputToken">dev1</set>


<condition match="$label$==&quot;m&quot;">
<set token="inputToken">qa</set>
<set token="outputToken">qa1</set>
</condition>
</change>
------
<row>
<panel>
<html id="messagecount">
<style>
#user{
text-align:center;
color:#BFFF00;
}
</style>
<h2 id="user">INBOUND </h2>
</html>
</panel>
</row>
<row>
<panel>
<table>
<search>
<query>index=$indexToken1$ source IN ("/*-*-*-$inputToken$") 
| timechart count by ObjectType```| stats count by ObjectType</query>
<earliest>$time_picker.earliest$</earliest>
<latest>$time_picker.latest$</latest>
<sampleRatio>1</sampleRatio>
</search>
------<row>
<panel>

</style>
<h2 id="user">outBOUND </h2>
</html>
<chart>
<search>
<query>index=$indexToken$ source IN ("/*e-f-$outputToken$-*-","*g-$outputToken$-h","i-$outputToken$-j") </query>
<earliest>$time_picker.earliest$</earliest>
<latest>$time_picker.latest$</latest>
<sampleRatio>1</sampleRatio>
</search>

 

 

Screenshot 2023-09-20 at 10.39.32 PM.png

Labels (1)
Tags (1)
0 Karma
1 Solution

ITWhisperer
SplunkTrust
SplunkTrust

Your input set up seems a little unconventional, please confirm how you have actually set up the inputs and where all the tokens are coming from

View solution in original post

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

Your input set up seems a little unconventional, please confirm how you have actually set up the inputs and where all the tokens are coming from

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

.conf25 Global Broadcast: Don’t Miss a Moment

Hello Splunkers, .conf25 is only a click away.  Not able to make it to .conf25 in person? No worries, you can ...

Observe and Secure All Apps with Splunk

 Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

What's New in Splunk Observability - August 2025

What's New We are excited to announce the latest enhancements to Splunk Observability Cloud as well as what is ...