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!

.conf25 Community Recap

Hello Splunkers, And just like that, .conf25 is in the books! What an incredible few days — full of learning, ...

Splunk App Developers | .conf25 Recap & What’s Next

If you stopped by the Builder Bar at .conf25 this year, thank you! The retro tech beer garden vibes were ...

Congratulations to the 2025-2026 SplunkTrust!

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