Dashboards & Visualizations

Drilldown launch of new dashboard w/parameters

rfazio
Explorer

Trying to create a dashboard system that will allow the user to start working from a summary dashboard and drill down to another browser tab to view "extreme detail".

I have most of the mechanics for the summary report and can launch the new tab with the detail however; I’m having problems figuring out the proper syntax to pass in the key values.

keyId is the driving value for the "Detail" dashboard. There may be one to many keyId values. Most likely no more than 10 but I can't get it to work with two.

Here's the scenarios (I hardcoded to take the parameter development out of the equation).

From the summary dashboard the following drilldown

    <drilldown target="Detail">
      <link>
        http://192.168.32.128:8000/en-US/app/tuessdv/Detail?keyId=001
      </link>
    </drilldown>

This successfully launches the new tab:

The resolved URL is:

http://192.168.32.128:8000/en-US/app/tuessdv/Detail?keyId=001&earliest=0&latest=

The generated search command is:

.... | search keyId=001 | fields ...

However, if I add another keyId to the search the URL is modified on invocation.

    <drilldown target="Detail">
      <link>
        http://192.168.32.128:8000/en-US/app/tuessdv/Detail?keyId=001 OR keyId=002
      </link>
    </drilldown>

This is the modified URL:

http://192.168.32.128:8000/en-US/app/tuessdv/Detail?keyId=001%20OR%20keyId&earliest=0&latest=

The generated search command is:

.... | search keyId=001 OR keyId | fields ...

I've tried all manner of delimiters. I'm not seeing it.

Note: I have successfully used outputlookup to persist the lookup values into lookup table (from the summery dashboard) then use the lookup to drive searches in the detail report, but I would need to create a set of lookup files for every user. I see a lot of little turds being left all over the place....does not feel "best practice"...but if it's desired, I'm listening.

Any/All ideas are welcome! This includes a new recommended approach on launching the new tab.

Thanks,
faz

0 Karma

arkadyz1
Builder
0 Karma
Get Updates on the Splunk Community!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...