Dashboards & Visualizations

How to use input data to filter data displayed on a table in a dashboard?

3618475
Engager

I created a dashboard using a report. The report creates a table of data.
The filter would be a text box for purchCostReference.
This is a screenshot of the table:

alt text
I don't understand how to connect the inputs to the table data.
The text box will be an input and when entered will filter the table data using the column purchCostReference.
This is the current xml

<form>
  <label>Thru Train Dashboard</label>
  <fieldset submitButton="false" autoRun="true">
    <input type="text" token="purchCostReferenceToken" searchWhenChanged="true">
      <label>TMS Reference Number</label>
      <default>*</default>
      <initialValue>*</initialValue>
    </input>
  </fieldset>
  <row>
    <panel>
      <title>Thru Train XML DATA</title>
      <table>
        <search ref="ThruTrainReportNestedResults"></search>
        <option name="drilldown">row</option>
        <option name="rowNumbers">true</option>
      </table>
    </panel>
  </row>
</form>

The current report does not take parameters to filter the data.
I would like to add filters to the report but do not understand how to do that.
Is there a way to use the data that is displayed on the current dashboard and filter that data without changing the report?
How do I add parameters to filter the data?

Labels (1)
0 Karma

to4kawa
Ultra Champion

your sample is broken.
please fix and use Code Sample (101010)

0 Karma

3618475
Engager

I don't see how I can edit my question.

0 Karma

to4kawa
Ultra Champion

click the gear icon at right above.

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!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...