Archive
Highlighted

Create Panels Dynamically based on search results

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)
Highlighted

Re: Create Panels Dynamically based on search results

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
Highlighted

Re: Create Panels Dynamically based on search results

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