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!

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

(view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...

Adoption of Infrastructure Monitoring at Splunk

  Splunk's Growth Engineering team showcases one of their first Splunk product adoption-Splunk Infrastructure ...