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

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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...