I read a few different answers which gave me some code to place in application.js but I couldn't get it to work. The column name is "logTemplate". I'm already loading a JS file for some in-page drilldown so I would prefer to add the code there. Any sugestions?
If you need the field for drilldowns then hiding it with the fields command isn't going to work for you, indeed.
For hiding columns without any JS customization, you can also use the Table module in SideviewUtils - see its hiddenFields parameter. Even when hidden you should still be able to refer to it with $row.fields.fieldname$ in your drilldown.
Forgive me as I'm probably going to ask a fairly simple question... First, I do need the field for drilldown purposes. I grabbed a sample from the site below, edited the column name, and swapped to SimpleResultsTable. I then created application.js, dropped the code in and restarted splunk web. The column did not hide. As I'm really not familiar with Splunk behind the scenes, I'm not getting very far troubleshooting.