# Visualize pdf and images indexed with fscrawler in kibana dicover section

**URL:** <https://discuss.elastic.co/t/visualize-pdf-and-images-indexed-with-fscrawler-in-kibana-dicover-section/180032>\
**Category:** Kibana\
**Created:** [May 7, 2019, 5:03pm UTC](https://discuss.elastic.co/t/visualize-pdf-and-images-indexed-with-fscrawler-in-kibana-dicover-section/180032 "2019-05-07T17:03:02Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![kumar4](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kumar4/32/48326_2.png) [@kumar4](https://discuss.elastic.co/u/kumar4)\
**Post date:** [May 7, 2019, 5:03pm UTC](https://discuss.elastic.co/t/visualize-pdf-and-images-indexed-with-fscrawler-in-kibana-dicover-section/180032/1 "2019-05-07T17:03:02Z")

</div>

i created an index called bigdata in fscrawler to index pdf and images ( i use tesseract ocr to extract text from image) and then i used this index in Kibana as shown in the image ![indexkibana](https://us1.discourse-cdn.com/elastic/original/3X/a/8/a824935507e812068364a0ee57585dfc233fb942.png) but when i try to visulaize the content of the indexed files in the discover section i obtain the flowwing error ![indexdiscover](https://us1.discourse-cdn.com/elastic/original/3X/1/3/13ceee61fa2672911df63c22fa046e5e7ccb3851.png) and cant show the diffrent fileds (imported with index in kibana). my obkectiv is to visualize the content and make filter to show on only the content containing some word , how can i viusulaiz thit content  
thank you

---

<div class="post-metadata">

**Author:** ![lukeelmers](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lukeelmers/32/35230_2.png) [@lukeelmers](https://discuss.elastic.co/u/lukeelmers)\
**Post date:** [May 7, 2019, 8:29pm UTC](https://discuss.elastic.co/t/visualize-pdf-and-images-indexed-with-fscrawler-in-kibana-dicover-section/180032/2 "2019-05-07T20:29:35Z")

</div>

Hi @kumar4 -- I'm assuming you don't see any results if you change the timerange for your search? (Looks like it is set to last 15 minutes in the screengrab)

It's also possible that you need to refresh your Index Pattern by clicking the button at the top of the index pattern page, if you've updated your mappings since the Index Pattern was initially created.

If you go to dev tools and query `GET bigdata*/_search`, do you see any results?

---

<div class="post-metadata">

**Author:** ![kumar4](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kumar4/32/48326_2.png) [@kumar4](https://discuss.elastic.co/u/kumar4)\
**Post date:** [May 7, 2019, 8:48pm UTC](https://discuss.elastic.co/t/visualize-pdf-and-images-indexed-with-fscrawler-in-kibana-dicover-section/180032/3 "2019-05-07T20:48:33Z")

</div>

> [@lukeelmers](#):
>
> GET bigdata\*/\_search

than you yes when i changed the date i obtained the result ( i have pdf and image files indexed)

 ![dicoverdate](https://us1.discourse-cdn.com/elastic/original/3X/f/7/f7ef6cad05ecc3a4bbed25f52000dd7922932a98.png) in the content i see just title of the content the otalité of the content adn i can see the text extratced from my image( what is programming) using tesseract-ocr, and this is what i see when i execute `GET bigdata*/_search` , in dev tool ![devtool](https://us1.discourse-cdn.com/elastic/original/3X/f/0/f0532e490d2febf89b8c28c66fd16d0c7b41ccb3.png)  
but i want to see all the content pf my pdf even if it is long and i want to make filter to dsiplay only pDF and images containing the word "programming", can yu help to do that this what i really need  
cordially

---

<div class="post-metadata">

**Author:** ![lukeelmers](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lukeelmers/32/35230_2.png) [@lukeelmers](https://discuss.elastic.co/u/lukeelmers)\
**Post date:** [May 7, 2019, 9:54pm UTC](https://discuss.elastic.co/t/visualize-pdf-and-images-indexed-with-fscrawler-in-kibana-dicover-section/180032/4 "2019-05-07T21:54:18Z")

</div>

Is your content field set as `searchable` in your Index Pattern?

If it is, you should be able to put a query in the filter bar for `content:"Programming"` and it will search the `content` field for occurrences of that word.

---

<div class="post-metadata">

**Author:** ![kumar4](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kumar4/32/48326_2.png) [@kumar4](https://discuss.elastic.co/u/kumar4)\
**Post date:** [May 7, 2019, 9:59pm UTC](https://discuss.elastic.co/t/visualize-pdf-and-images-indexed-with-fscrawler-in-kibana-dicover-section/180032/5 "2019-05-07T21:59:49Z")

</div>

> [@lukeelmers](#):
>
> content:"Program

but in my case i use the fielfd : Time Filter field name: file.created as show in the image

 ![filed](https://us1.discourse-cdn.com/elastic/original/3X/3/9/39688ced63b84ef6cb49390fbddaca7fb428b424.png) , and i have the filed content in my index but how to set searchable ??

---

<div class="post-metadata">

**Author:** ![kumar4](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kumar4/32/48326_2.png) [@kumar4](https://discuss.elastic.co/u/kumar4)\
**Post date:** [May 7, 2019, 10:11pm UTC](https://discuss.elastic.co/t/visualize-pdf-and-images-indexed-with-fscrawler-in-kibana-dicover-section/180032/6 "2019-05-07T22:11:47Z")

</div>

> [@lukeelmers](#):
>
> content:"Programming"

wawww thank you very much this is the result

 ![filserach](https://us1.discourse-cdn.com/elastic/original/3X/c/4/c4eafe73c1bd5212c12177633c6f668e953de0cc.png) , but what does count graph mean with specified date ??

---

<div class="post-metadata">

**Author:** ![lukeelmers](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lukeelmers/32/35230_2.png) [@lukeelmers](https://discuss.elastic.co/u/lukeelmers)\
**Post date:** [May 7, 2019, 10:17pm UTC](https://discuss.elastic.co/t/visualize-pdf-and-images-indexed-with-fscrawler-in-kibana-dicover-section/180032/7 "2019-05-07T22:17:11Z")

</div>

The histogram at the top is showing you the number of hits for each date based on your query. So in this example it looks like there are only two results within the date range you have searched

---

<div class="post-metadata">

**Author:** ![kumar4](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kumar4/32/48326_2.png) [@kumar4](https://discuss.elastic.co/u/kumar4)\
**Post date:** [May 8, 2019, 12:10pm UTC](https://discuss.elastic.co/t/visualize-pdf-and-images-indexed-with-fscrawler-in-kibana-dicover-section/180032/8 "2019-05-08T12:10:04Z")

</div>

thank you very much, is it possible to see this count of words in graphical charts ? for example if i want to serach for sentences "introduction to java" and have a display of the count by document in graph; and if it is possible to use machine learning to see the words having the same meaining like "good" "better" ...

---

<div class="post-metadata">

**Author:** ![lukeelmers](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lukeelmers/32/35230_2.png) [@lukeelmers](https://discuss.elastic.co/u/lukeelmers)\
**Post date:** [May 8, 2019, 3:00pm UTC](https://discuss.elastic.co/t/visualize-pdf-and-images-indexed-with-fscrawler-in-kibana-dicover-section/180032/9 "2019-05-08T15:00:56Z")

</div>

Yep, you should be able to visualize the occurrences of those sentences using a terms aggregation in the visualization of your choosing.

Looking at words having the same meaning is a bit more difficult -- our current ML application doesn't handle this use case, although you could certainly configure your own [synonym token filter](https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-synonym-tokenfilter.html) to apply during the [analysis process](https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis.html) in Elasticsearch. This would require defining a list of your own synonyms, but would achieve the affect you are looking for in that you could query for a term and receive results containing synonymous terms.

---

<div class="post-metadata">

**Author:** ![kumar4](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kumar4/32/48326_2.png) [@kumar4](https://discuss.elastic.co/u/kumar4)\
**Post date:** [May 9, 2019, 3:33am UTC](https://discuss.elastic.co/t/visualize-pdf-and-images-indexed-with-fscrawler-in-kibana-dicover-section/180032/10 "2019-05-09T03:33:34Z")

</div>

i didnt understand terms aggregation in the visualization, can you give an exemple, what i am doing now in the filter is: content:"hello", can you give an example of term agregation and where i should put it (in kibana filter ??)  
thank you

---

<div class="post-metadata">

**Author:** ![lukeelmers](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lukeelmers/32/35230_2.png) [@lukeelmers](https://discuss.elastic.co/u/lukeelmers)\
**Post date:** [May 10, 2019, 2:54pm UTC](https://discuss.elastic.co/t/visualize-pdf-and-images-indexed-with-fscrawler-in-kibana-dicover-section/180032/11 "2019-05-10T14:54:26Z")

</div>

If you want to visualize aggregations, click the "visualize" menu item and create a new visualization of your choosing.

There, you'll be able to add an aggregation under "buckets" to and set it to "terms" pointing to the field you want to count occurrences on.

The [Creating a Visualization](https://www.elastic.co/guide/en/kibana/current/createvis.html) section of the docs will help provide more info on this, or you might be interested in checking out our [Getting Started with Kibana](https://www.elastic.co/webinars/getting-started-kibana) webinar, which covers all of this in depth with some concrete examples.

---

<div class="post-metadata">

**Author:** ![kumar4](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kumar4/32/48326_2.png) [@kumar4](https://discuss.elastic.co/u/kumar4)\
**Post date:** [May 12, 2019, 2:05am UTC](https://discuss.elastic.co/t/visualize-pdf-and-images-indexed-with-fscrawler-in-kibana-dicover-section/180032/12 "2019-05-12T02:05:22Z")

</div>

> [@lukeelmers](#):
>
> aggregations

your responses is very important but what do you mean by agregation can you explain me  
thank you

---

<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:** [June 9, 2019, 2:05am UTC](https://discuss.elastic.co/t/visualize-pdf-and-images-indexed-with-fscrawler-in-kibana-dicover-section/180032/13 "2019-06-09T02:05:22Z")

</div>

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