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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...