Splunk Dev

Create Panels Dynamically based on search results

slrobnson
Engager

All,

I am hoping someone to help me fine a solution for what I am trying to do. I have the following data from a search:

hostname,deviceid
host1,1
host2,2

What I am trying to do is to created panels for each host and display the hostname within that panel using the html tags. It should look like this:

.........................................................................
. host1 .
. .
. .
.........................................................................

.........................................................................
. host2 .
. .
. .
.........................................................................

Thank you in advance,

Stephen Robinson

Tags (1)

dwaddle
SplunkTrust
SplunkTrust

One way of doing this is via Sideview Utils and their "multiplexer" module. It is designed to make new dashboard panels based on search results. There may be other ways too, but I know the approach of @sideview works. See http://sideviewapps.com/apps/sideview-utils/

0 Karma

DalJeanis
Legend

There are lots of ways. For instance, you could set up a base search and then post-filter each panel using the data from your above search. (| head 1 for first panel, |head 2 | tail 1 for second panel, | head 3 | tail 1 for third panel etc)

https://answers.splunk.com/answers/170633/how-do-i-use-one-search-to-populate-a-bunch-of-pan.html

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 ...