Splunk Search

Add hyperlink column to SimpleResultsTable

mguacci
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

jconger
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

jconger
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

mguacci
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
Get Updates on the Splunk Community!

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer at Splunk .conf24 ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...