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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Analytics Workspace deprecation

As of Splunk Cloud Platform 10.4.2604 and Splunk Enterprise 10.4, Analytics Workspace is now deprecated. ...

Splunk Developer Day Recap: Building, Publishing, and Growing on the Splunk Platform

Splunk Developer Day brought the Splunk developer community together for a practical look at what it means to ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...