Splunk Search

How to add image from URL to a table

ccsfdave
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

sbrant_splunk
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

ccsfdave
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

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

Updated Data Type Articles, Anniversary Celebrations, and More on Splunk Lantern

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

A Prelude to .conf25: Your Guide to Splunk University

Heading to Boston this September for .conf25? Get a jumpstart by arriving a few days early for Splunk ...

4 Ways the Splunk Community Helps You Prepare for .conf25

.conf25 is right around the corner, and whether you’re a first-time attendee or a seasoned Splunker, the ...