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!

Your Guide to SPL2 at .conf24!

So, you’re headed to .conf24? You’re in for a good time. Las Vegas weather is just *chef’s kiss* beautiful in ...

Get ready to show some Splunk Certification swagger at .conf24!

Dive into the deep end of data by earning a Splunk Certification at .conf24. We're enticing you again this ...

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

Now On-Demand Join us to learn more about how you can leverage Service Level Objectives (SLOs) and the new ...