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!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

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