Dashboards & Visualizations

How can I unset a token on a table panel?

Communicator

I need the help on resetting the token using bucket name given to the table panel of the dashboard.

0 Karma
1 Solution

Communicator

It would be something like this .And it's working fine for me

<input type="link" token="tokClear" searchWhenChanged="true">
         <label></label>
         <change>
           <condition value="reset">
             <unset token="form.id"></unset>
             <unset token="form.type"></unset>
             <unset token="form.names"></unset>
            <unset token="reset_tok"></unset>
             <unset token="form.reset_tok"></unset>
             <unset token="tokClear"></unset>
             <unset token="form.tokClear"></unset>
           </condition>
         </change>

View solution in original post

Communicator

It would be something like this .And it's working fine for me

<input type="link" token="tokClear" searchWhenChanged="true">
         <label></label>
         <change>
           <condition value="reset">
             <unset token="form.id"></unset>
             <unset token="form.type"></unset>
             <unset token="form.names"></unset>
            <unset token="reset_tok"></unset>
             <unset token="form.reset_tok"></unset>
             <unset token="tokClear"></unset>
             <unset token="form.tokClear"></unset>
           </condition>
         </change>

View solution in original post

Path Finder

You need to define a drilldown within the table simple xml and unset it e.g

...

0 Karma

Legend

@peterchenadded , I have converted to comment because this seems like an incomplete answer. Anyways, since @chitreshakumar has not provided required context for his question we should wait before we attempt answering the same.

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
0 Karma

SplunkTrust
SplunkTrust

@chitreshakumar - we really need more specific questions. Here are some suggestions about how to be specific:

1) Specify exactly what you want the screen to do, that it is not doing.

2) Post the relevant sections of the code. (Do not post confidential matters.) Before submitting, either put four spaces in front of each code line, or highlight the code and press the code button (marked 101 010). This will prevent the interface from deleting or obeying elements that look like HTML.

3) Specify what you have attempted to try to make it work. This will allow us to understand how much explanation you need.

0 Karma
State of Splunk Careers

Access the Splunk Careers Report to see real data that shows how Splunk mastery increases your value and job satisfaction.

Find out what your skills are worth!