Dashboards & Visualizations

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

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

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