Dashboards & Visualizations

How to execute two panels subsequently on a dashboard

xiangtaner
Path Finder

Hi,

I have two panels on the same dashboard, but the second one depends on the results of the first one and needs to input the lookup table generated from the first panel. How can set it up so that the second panel does not run until the first panel finishes?

Thanks!

Tags (1)
0 Karma

xiangtaner
Path Finder

Thanks maciep for the input!

The first piece of code (or search in the first panel) creates a list of IP addresses which the second piece of code (or search in the second panel) takes in order to filter a big source by keeping only IP addresses in the list.

The first piece of code likes below:

search1
| table IP
| outputlookup ips.csv

The second piece of code takes in the lookup as:

sourcetype=bigsource | search [| inputlookup ips.csv | fields IP] | ...

I do want to combine these two pieces of code together so that I only need one panel, as you can see the first piece of code does nothing but just creating the list. If you have any good ideas to achieve this please do let me know.

So I have these two panels on the same dashboard, and the second panel depends on the lookup table created and finalized.

Greatly appreciate any ideas/suggestion!

0 Karma

maciep
Champion

There is the "depends" attribute that might be useful here. But I'm not fully understanding how the panels relate to each other. The first one generates a lookup table? Do you mean it's piping to outputlookup or using rest to actually create a lookup that the second panel needs? Or are you just tabling data that the user can click on to populate a search for the second panel? Or something else entirely?

0 Karma
Get Updates on the Splunk Community!

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...