# Accessing images into elasticsearch

**URL:** <https://discuss.elastic.co/t/accessing-images-into-elasticsearch/287844>\
**Category:** Kibana\
**Created:** [October 27, 2021, 5:56pm UTC](https://discuss.elastic.co/t/accessing-images-into-elasticsearch/287844 "2021-10-27T17:56:11Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Salman\_Ali](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/salman_ali/32/96422_2.png) [@Salman\_Ali](https://discuss.elastic.co/u/Salman_Ali)\
**Post date:** [October 27, 2021, 5:56pm UTC](https://discuss.elastic.co/t/accessing-images-into-elasticsearch/287844/1 "2021-10-27T17:56:11Z")

</div>

Hey  
I have screenshots of different sites stored on my local machine. I want to store it in Elasticsearch. So I can view each screenshot against the relevant domain in kibana. But I don't have any clue how to do this.  
thanks.

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [October 27, 2021, 10:25pm UTC](https://discuss.elastic.co/t/accessing-images-into-elasticsearch/287844/2 "2021-10-27T22:25:51Z")

</div>

Hi @Salman_Ali Welcome to the community.

You _can_ store images in Elasticsearch but the typical use case is to have Elasticsearch to store the metadata about the image with a URL / Link to the data (say in S3 or on your hard drive ) and build the search around Elasticsearch and display around your custom app or I think with Discover you can make the link active... so you could click on it.

Kibana is not really built to display images stored in Elasticsearch there were some old Kibana Plugins at one point but I think they are all our of date.

Here was a recent discussion...

> [@Kibana show Images](https://discuss.elastic.co/t/kibana-show-images/268349):
>
> I have a doubt . I have a table x that contains a column called images (type jsonb) in my postgresql database. I migrated this data to elasticsearch, however, only the image metadata appears, I would like to know if it is possible to display the image in Kibana? [Pasteboard - Uploaded Image](https://pasteboard.co/JUflJEu.png) ( metadata images) Thank You

Perhaps someone else will have a suggestion...

---

<div class="post-metadata">

**Author:** ![Salman\_Ali](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/salman_ali/32/96422_2.png) [@Salman\_Ali](https://discuss.elastic.co/u/Salman_Ali)\
**Post date:** [October 28, 2021, 5:48am UTC](https://discuss.elastic.co/t/accessing-images-into-elasticsearch/287844/3 "2021-10-28T05:48:05Z")

</div>

Thank you for the quick response @stephenb !  
Yeah, that is the problem I can't store images directly in Elasticsearch however I can store their metadata in Elasticsearch. For now, I've images on my hard drive.  
Once I am able to store the metadata of the images in Elasticsearch then I can view it on kibana, right?

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [October 28, 2021, 5:49am UTC](https://discuss.elastic.co/t/accessing-images-into-elasticsearch/287844/4 "2021-10-28T05:49:58Z")

</div>

No I don't think the images will display inside Kibana .. I think you'll only be able to link out and open in another tab perhaps.

---

<div class="post-metadata">

**Author:** ![Salman\_Ali](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/salman_ali/32/96422_2.png) [@Salman\_Ali](https://discuss.elastic.co/u/Salman_Ali)\
**Post date:** [October 28, 2021, 6:04am UTC](https://discuss.elastic.co/t/accessing-images-into-elasticsearch/287844/5 "2021-10-28T06:04:25Z")

</div>

I think we can view the image in kibana one of my friends has done this. displaying the screenshot against each website name. But unfortunately, I lost contact.  
well, thank you @stephenb .

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [October 28, 2021, 6:12am UTC](https://discuss.elastic.co/t/accessing-images-into-elasticsearch/287844/6 "2021-10-28T06:12:50Z")

</div>

Like I said I think there were some plugins and there's a post somewhere that says you can display them in Discover view but I tried I couldn't get it to Work so perhaps someone else will be able to provide some guidance.

---

<div class="post-metadata">

**Author:** ![Salman\_Ali](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/salman_ali/32/96422_2.png) [@Salman\_Ali](https://discuss.elastic.co/u/Salman_Ali)\
**Post date:** [October 28, 2021, 6:21am UTC](https://discuss.elastic.co/t/accessing-images-into-elasticsearch/287844/7 "2021-10-28T06:21:01Z")

</div>

Yes, @stephenb I've also seen some posts there but couldn't get any help.Hopefully, I will get something.  
Thanks

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [November 25, 2021, 6:21am UTC](https://discuss.elastic.co/t/accessing-images-into-elasticsearch/287844/8 "2021-11-25T06:21:03Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
