Display base64 encoded images

(Jeff Bolle) #1

I have small images stored as base 64 text in my ElasticSearch data (I know it isn't a general best practice, but for right now it makes the most sense given other development priorities). I see that in Kibana I can display images if they are from URLs, and I can decode base64 text, but I can't figure out the magic combination to display the decoded base64 images from my data field. Thanks for the help.

(Jon Budzenski) #2

It looks like kibana comes close to supporting this but not quite. Urls are added to the <img src field which does support base64 images, but we escape the url beforehand breaking the image metadata. This one might be good to file as an enhancement request on the kibana issue tracker at https://github.com/elastic/kibana/issues/new

(Jeff Bolle) #3

Thanks Jon. I've added it here:

(system) #4