Dashboards & Visualizations

Filter on saved report

chrispappo
Explorer

Hi,

I created a report using the "setting -> Searches, reports, and alerts" menu. The name of the search is cptyinfo and it runs every 5 min.
i display the search in a dashboard like this

<table>
<title>Report Chart</title>
<search ref="cptyinfo"/> 
</table>

I was wondering if there is anyway to filter (using a token) on the column of this report ? (without recalculate anything)

Something like that:

<table>
<title>Report Chart</title>
<search ref="cptyinfo"> | where id=$id$ </search> 
 </table>

Thanks

Tags (3)
0 Karma

chrispappo
Explorer

Hi,

I find the solution

  <search id="components_search" ref="cptyinfo" />
<table>
      <title>Report Chart</title>
     <search base="components_search">
        <query>search fieldFromReport=$token$ </query> 
      </search>
</table>

works perfect !

Get Updates on the Splunk Community!

Detecting Remote Code Executions With the Splunk Threat Research Team

REGISTER NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If ...

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...