Dashboards & Visualizations

Is it possible to use a value in the splunk JS that isn't displayed in my table?

chustar
Path Finder

I am trying to use row expansion to display additional data when a row is clicked.
The problem is that the image I want to show when the row is expanded will generally have a really long file name.

I would like to avoid displaying this long file name in my table, but still be able to use it in my JS code.

Is this possible?

My current search (with the long file name)

index=blah | table field1, field2, filename

My current JS

render: function($container, rowData) {
    $container.append("<img src='rowData.values[2]' />");
}
0 Karma

chustar
Path Finder

Based on the thread here: http://answers.splunk.com/answers/26825/drilldown-from-a-hidden-column.html It looks like Splunk does not natively support hidden fields.

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...