Editor's note: please see next answer down for modern, Splunk 6.x+ method of doing this
--
When drilldown is set to row , the module uses the value in the first column of each row as drilldown value. So you can put the field you want to hide in the first column and then hide it using some Javascript in application.js.
Example:
if(Splunk.util.getCurrentView() == "myview") {
Splunk.Module.SimpleResultsTable = $.klass(Splunk.Module.SimpleResultsTable, {
renderResults: function($super,data) {
$super(data);
$('td:nth-child(2),th:nth-child(2)', this.container).hide();
}
});
}
... View more