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!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...