All Apps and Add-ons

Redirecting to different views based on click value

ChhayaV
Communicator

Hi,

I have a chart which shows errorcount by host(SP,DB,CRM,etc).
now i want to do a drilldown suppose if i click on SP i should get a dashboard showing charts for SP only similarily for other two too.

how can i do it

Thanks

kavyaa
Explorer

Before click on host "SP", I want to put default host "SP" ..........
did you try for default value based on click value?

0 Karma

amit_saxena
Communicator

Hi,

I feel this can be done by SimpleXML by using "drilldown" tag for dynamic drilldown.

You have to use "click.value" or "click.value2" depends upon whether the chart is bar chart or non-bar chart.

Let me know your views on this.

Regards,
Amit Saxena

0 Karma

ChhayaV
Communicator

hi,
i have already commented on second ans thats what i want to do

0 Karma

sideview
SplunkTrust
SplunkTrust

See the documentation within Sideview Utils itself under "General Techniques > Linking", in which there are several examples of how to use the Redirector module for simple drilldowns. Make sure to click the litle link that says "view the XML source for this example", and follow along in the example's XML source as you're reading the docs.

Also, if you don't have such links, that probably means you're using the ancient 1.3.5 version, so you should upgrade to the latest (2.5) from the Sideview website at http://sideviewapps.com/apps/sideview-utils

But basically it looks like this:

<module name="Redirector">
  <param name="url">your_view_name_here</param>
  <param name="arg.host">$host.rawValue$</param>
</module>

Again the docs pages about linking and the other pages about inline drilldowns will tell you everything you need to know.

0 Karma

ChhayaV
Communicator

hi,
Great!!!!!!!! thank you this is what i wanted 🙂

0 Karma

sideview
SplunkTrust
SplunkTrust

Oh. Sorry I misunderstood. The "url" param of the redirector can also accept $foo$ substitution, so I recommend something like <param name="url">$click.fields.host$_host_detail</param> and then you just create three similar but different views - DB_host_detail, CRM_host_detail, SP_host_detail.

ChhayaV
Communicator

hi i have already passed host . what i want is charts on target view should change according to host value passed.if i click SP i should see chrt showing error by area category etc and when i click on DB then it should show charts for error code severity etc

0 Karma

Mahieu
Communicator

Hi there,
You're going to need advanced xml here.
You need to add the below module (instead of the usual redirection to the flash timeline) :




/app/yourapp/yourdashboard?host=$click.value$


ChhayaV
Communicator

i am using side view utils redirector and target dashboard should chaneg based on host value passed from source

0 Karma
Get Updates on the Splunk Community!

Splunk Training for All: Meet Aspiring Cybersecurity Analyst, Marc Alicea

Splunk Education believes in the value of training and certification in today’s rapidly-changing data-driven ...

The Splunk Success Framework: Your Guide to Successful Splunk Implementations

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

Investigate Security and Threat Detection with VirusTotal and Splunk Integration

As security threats and their complexities surge, security analysts deal with increased challenges and ...