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!

Splunk Observability Synthetic Monitoring - Resolved Incident on Detector Alerts

We’ve discovered a bug that affected the auto-clear of Synthetic Detectors in the Splunk Synthetic Monitoring ...

Video | Tom’s Smartness Journey Continues

Remember Splunk Community member Tom Kopchak? If you caught the first episode of our Smartness interview ...

3-2-1 Go! How Fast Can You Debug Microservices with Observability Cloud?

3-2-1 Go! How Fast Can You Debug Microservices with Observability Cloud? Learn how unique features like ...