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!

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 ...