Dashboards & Visualizations

How to validate values in a drilldown page and execute a search based on the value received from the master dashboard?

saransakthi83
New Member

I have passed few values to drilldown page. I have executed more than one query in drilldown page. For that, I have validate values which I received from master dashboard, in drilled down page. Please let me know how validate the values?

0 Karma

aaraneta_splunk
Splunk Employee
Splunk Employee

@saransakthi83 - Did the answer provided by zshainsky help provide a working solution to your question? If yes, please don't forget to resolve this post by clicking "Accept". If no, please leave a comment with more feedback. Thanks!

0 Karma

zshainsky
Splunk Employee
Splunk Employee

It looks like you could use JS to do your drilldown validation before sending the values to the next dashboard http://dev.splunk.com/view/SP-CAAAEME.

If we use an example from the above link, we could do something like this:

mytable=new TableView({
     id: "example-table",
     managerid: "subsearch2",
     pageSize: 3,
    wrap: true,
    drilldown: "cell",
    el: $("#mytable")
}).render();

// DO ALL VALIDATION HERE
// e.data is going to be the value that is selected by the user
mytable.on("click", function(e) {
      // Bypass the default behavior
      e.preventDefault();

     // Displays a data object in the console
     console.log("Clicked the table:", e.data);

    // Implement validation logic here...

});
0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...