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!

Technical Workshop Series: Splunk Data Management and SPL2 | Register here!

Hey, Splunk Community! Ready to take your data management skills to the next level? Join us for a 3-part ...

Spotting Financial Fraud in the Haystack: A Guide to Behavioral Analytics with Splunk

In today's digital financial ecosystem, security teams face an unprecedented challenge. The sheer volume of ...

Solve Problems Faster with New, Smarter AI and Integrations in Splunk Observability

Solve Problems Faster with New, Smarter AI and Integrations in Splunk Observability As businesses scale ...