Splunk Search

How to create a different search for each column in a chart?

link22
Explorer

I would like to have a chart that shows the different values (I used a unique field extraction for this) found and displays each value's count in a column.
I am trying to make each column have a unique link to dashboard I made based on the value of the column. I am fine with hard coding this in xml with the set values I have.
Any suggestions on how to go about this would be greatly appreciated. Thank you!

0 Karma
1 Solution

link22
Explorer

For others who may want to know this:
There is a special search called a conditional drilldown in which in the drilldown you have your condition tags. In the condition tags, you can have a link. I'm having a hard time making it work properly but it's a start for anyone who needs it.

View solution in original post

0 Karma

link22
Explorer

For others who may want to know this:
There is a special search called a conditional drilldown in which in the drilldown you have your condition tags. In the condition tags, you can have a link. I'm having a hard time making it work properly but it's a start for anyone who needs it.

0 Karma

link22
Explorer

Something I tried is putting this into my :

      <condition match="$click.name$==nameOfColumn">
             <set token="dashboard_tok">/app/linktodashboard</set>
      </condition>
      <condition match="$click.name$==nameOfOtherColumn">
             <set token="dashboard_tok">/app/linktodashboard</set>
      </condition>

and then in the drilldown, I replace the search string with $dashboard_tok$.

However this oddly gives my a second bar in my graph that belongs to who knows what (it is not a value being found by the field extraction and the column is completely only created by this chunk of xml).
Also what I did above just plain doesn't work... But I wanted to show some semblance of what I'm trying to do.

0 Karma
Get Updates on the Splunk Community!

Strengthen Your Future: A Look Back at Splunk 10 Innovations and .conf25 Highlights!

The Big One: Splunk 10 is Here!  The moment many of you have been waiting for has arrived! We are thrilled to ...

Now Offering the AI Assistant Usage Dashboard in Cloud Monitoring Console

Today, we’re excited to announce the release of a brand new AI assistant usage dashboard in Cloud Monitoring ...

Stay Connected: Your Guide to October Tech Talks, Office Hours, and Webinars!

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...