Splunk Search

How to add image from URL to a table

Builder

Pretty simple question, hopefully it is a simple answer. I have data where one field has a URL of an image. I would like to display it in a table cell. Can anyone think how to accomplish this?

0 Karma

Splunk Employee
Splunk Employee

Provided you're working with a relatively current version of Splunk, you should be able to accomplish this with the html panel visualization element: http://docs.splunk.com/Documentation/Splunk/6.4.2/Viz/PanelreferenceforSimplifiedXML#html

0 Karma

Builder

Hmm so my tag would end up being <img src="img_field"> (or maybe $img_field$)

I'll give it a try on Monday.

0 Karma

Motivator

You might be able to do that in advanced XML with the HTML module of Sideview Utils. You might also be able to do it with javascript within the Splunk web framework.

Those are two rather large "might" statements.

0 Karma