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
Get Updates on the Splunk Community!

Dashboards: Hiding charts while search is being executed and other uses for tokens

There are a couple of features of SimpleXML / Classic dashboards that can be used to enhance the user ...

Splunk Observability Cloud's AI Assistant in Action Series: Explaining Metrics and ...

This is the fourth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how ...

Brains, Bytes, and Boston: Learn from the Best at .conf25

When you think of Boston, you might picture colonial charm, world-class universities, or even the crack of a ...