Splunk Search

Add hyperlink column to SimpleResultsTable

New Member

Hi everyone,
I have to add a column containing specific hyperlinks to a SimpleResultsTable. This table has the following structure:

Date Service Status
01/01/2014 08:00:00 XYZ Up
01/01/2014 08:00:00 XYW Idle

I want to add a column containing hyperlinks in order to call some servlets, so the final table should be like this:

Date Service Status Actions
01/01/2014 08:00:00 XYZ Up stop restart
01/01/2014 08:00:00 XYW Idle stop restart

I'm trying to find a way to work on my custom application.js (I used it to put icons instead of status values).

Is what I need possible to do?

Any suggest is accepted.

Thank you.

0 Karma

Splunk Employee
Splunk Employee

What version of Splunk are you using? In Splunk 6, you can use a custom cell renderer, in Splunk 5, you need to do some more work with application.js and jQuery.

0 Karma

Splunk Employee
Splunk Employee

Here is an example that is close to what you want. Look it over and let me know if you have questions.

http://blogs.splunk.com/2014/01/29/add-a-tooltip-to-simple-xml-tables-with-bootstrap-and-a-custom-ce...

0 Karma

New Member

Hi jconger, thank you for your answer. I'm using Splunk 6.0.2. Could you please give me more details about 'custom cell renderer'?
Where could I find some information about it?

Thank you.

0 Karma