Dashboards & Visualizations

JS Framework passing tokens? Restful?

rdownie
Communicator

I am using the javascript framework to build my forms and it doesn't appear to be restful? I want to be able to use drilldowns to pass fields into my JS/django forms but can't figure out how you do it? Any help would be appreciated.
Thanks,
-Bob

0 Karma

cafissimo
Communicator

Hi,
have you tried with "e.name2" or "e.value2"?

Regards,
Luca Caldiero.

0 Karma

rdownie
Communicator

I figured out how to pull back what is passed via the URL string. I would like to be able to specify which column was clicked on. What do I use for a variable to return the column header name???

Using the following:

table2.on('click:cell', function(e) {
e.preventDefault();
//what do I need here to print the column header name????
console.log("Click 1 " + e.value);
console.log("Click 4" + e.name); //does NOT work

       // window.open("../broipjs?10.149.16.17","_self");
    });
0 Karma
Get Updates on the Splunk Community!

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!

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

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...