Dashboards & Visualizations

Using loadjob in a dashboard returns no results?

zapping575
Path Finder

We are using a clustered SH setup.

I have a dashboard that lists all triggered alerts. When a user clicks on one of the list items, I would like to use the sid as a token to use as argument for loadjob in another dashboard. The query is as simple as:

 

 

| loadjob <long-sid>

 

 

However currently when a row is clicked, the result is always "Search did not return any events. "

I have configurered the tokens correctly and permissions also do not seem to be the issue. If I click the "open in search" button at the bottom of the dash I get the results of "| loadjob <sid>" as expected"

 

Labels (3)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

Please share the source of the dashboard originating the drilldown.  We don't need the whole thing - just the one panel with the drilldown should be enough.

---
If this reply helps you, Karma would be appreciated.

zapping575
Path Finder

Of course, sorry I didnt think about that beforehand

 <row>
    <panel>
      <table>
        <title>Latest events</title>
        <search>
          <query>| rest /servicesNS/-/-/alerts/fired_alerts/- 
| search eai:acl.app = myapp severity = 3</query>
          <earliest>$alerts_timepicker.earliest$</earliest>
          <latest>$alerts_timepicker.latest$</latest>
          <refresh>10m</refresh>
          <refreshType>delay</refreshType>
        </search>
        <option name="drilldown">row</option>
        <option name="refresh.display">progressbar</option>
        <drilldown>
          <set token="search_id">$row.sid$</set>
        </drilldown>
      </table>
    </panel>
  </row>
  <row>
    <panel>
      <event>
        <title>Alert Details</title>
        <search>
          <query>| loadjob $search_id$ </query>
          <earliest>$alerts_timepicker.earliest$</earliest>
          <latest>$alerts_timepicker.latest$</latest>
        </search>
        <option name="list.drilldown">none</option>
        <option name="refresh.display">progressbar</option>
      </event>
    </panel>
  </row>

 

0 Karma
Get Updates on the Splunk Community!

Splunk Enterprise Security(ES) 7.3 is approaching the end of support. Get ready for ...

Hi friends!    At Splunk, your product success is our top priority. With Enterprise Security (ES), we're here ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk, and empower your SOC to reach new heights! Duration: 1 hour  Prepare to ...

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...