Dashboards & Visualizations

Dashboard - REST API with Token

rashi83
Path Finder

Hi ,

I am trying to create a dashboard like this - which has a text box to search for title ( index name) .

How do I put this title token in my search ?

======================================================================================================

Index List
Index Search

<input type="text" token="title">
  <label>Search</label>
</input>


<panel>
  <table>
    <search>
      <query>|rest /services/data/indexes | dedup title | table title updated splunk_server</query>
      <earliest>@d</earliest>
      <latest>now</latest>
      <sampleRatio>1</sampleRatio>
    </search>
    <option name="count">100</option>
    <option name="dataOverlayMode">none</option>
    <option name="drilldown">cell</option>
    <option name="percentagesRow">false</option>
    <option name="rowNumbers">true</option>
    <option name="totalsRow">false</option>
    <option name="wrap">true</option>
  </table>
</panel>

=====================================================================================================

0 Karma

jkat54
SplunkTrust
SplunkTrust

Add this to the search at the end

| search title=*$title$*
0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...