# Searching for content in pdf and word documents

**URL:** <https://discuss.elastic.co/t/searching-for-content-in-pdf-and-word-documents/243454>\
**Category:** Kibana\
**Created:** [August 2, 2020, 11:32am UTC](https://discuss.elastic.co/t/searching-for-content-in-pdf-and-word-documents/243454 "2020-08-02T11:32:20Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![tnkumar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tnkumar/32/73184_2.png) [@tnkumar](https://discuss.elastic.co/u/tnkumar)\
**Post date:** [August 2, 2020, 11:32am UTC](https://discuss.elastic.co/t/searching-for-content-in-pdf-and-word-documents/243454/1 "2020-08-02T11:32:20Z")

</div>

I have many word and pdf documents. I want to search for some content in these documents. For such an application, are elasticsearch and kibana used? If so, and I have the free trial (signed up yesterday), how do I ingest my documents, stored in google drive into elasticsearch and then search for content in the documents?

---

<div class="post-metadata">

**Author:** ![aaron-nimocks](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aaron-nimocks/32/73965_2.png) [@aaron-nimocks](https://discuss.elastic.co/u/aaron-nimocks)\
**Post date:** [August 2, 2020, 11:58am UTC](https://discuss.elastic.co/t/searching-for-content-in-pdf-and-word-documents/243454/2 "2020-08-02T11:58:51Z")

</div>

If you want to use Logstash then your files need to be in one of these plugins or would need to move them to a local drive.

> **[Input plugins | Logstash Plugins](https://www.elastic.co/docs/reference/logstash/plugins/input-plugins)**
>
> An input plugin enables a specific source of events to be read by Logstash. The following input plugins are available below. For a list of Elastic supported...

Then would need to install and use the attachment processor in order to index the documents.

> **[Attachment processor | Elasticsearch Reference](https://www.elastic.co/docs/reference/ingest-processor/attachment)**
>
> The attachment processor lets Elasticsearch extract file attachments in common formats (such as PPT, XLS, and PDF) by using the Apache text extraction...

---

<div class="post-metadata">

**Author:** ![tnkumar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tnkumar/32/73184_2.png) [@tnkumar](https://discuss.elastic.co/u/tnkumar)\
**Post date:** [August 2, 2020, 12:09pm UTC](https://discuss.elastic.co/t/searching-for-content-in-pdf-and-word-documents/243454/3 "2020-08-02T12:09:13Z")

</div>

Thanks @aaron-nimocks for a quick response. I have very basic questions.

- Should I use logstash for this?
- Using kibana, can I not point to the google docs where my pdf and word documents are stored?
- If I were to use logstash, which of the plugins should I use if I have the document in google docs?
- what is indexing documents? how do I go to cli to install the attachment processor? I have the 14 day cloud free trial and do see the kibana dashboard

I am a first time user (complete newbie) and got access to the 14 day trial just yesterday.

---

<div class="post-metadata">

**Author:** ![aaron-nimocks](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aaron-nimocks/32/73965_2.png) [@aaron-nimocks](https://discuss.elastic.co/u/aaron-nimocks)\
**Post date:** [August 2, 2020, 12:24pm UTC](https://discuss.elastic.co/t/searching-for-content-in-pdf-and-word-documents/243454/4 "2020-08-02T12:24:17Z")

</div>

@tnkumar Indexing PDFs for searching isn't the easiest thing to start learning with. I am not even sure you can do this with a free trial of elastic cloud.

Can you explain what you are trying to accomplish? How many documents and what do you want to do with them? There might be easier solutions.

---

<div class="post-metadata">

**Author:** ![tnkumar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tnkumar/32/73184_2.png) [@tnkumar](https://discuss.elastic.co/u/tnkumar)\
**Post date:** [August 2, 2020, 12:32pm UTC](https://discuss.elastic.co/t/searching-for-content-in-pdf-and-word-documents/243454/5 "2020-08-02T12:32:53Z")

</div>

@aaron-nimocks - Thanks for quick response and questions.  
Use case I am considering is as follows

- There are 20 pdf documents and 20 word documents that describe procedures for the tasks in the office - e.g. for a medical receptionist at the front desk, what should I collect from patients when they come to a front desk?
- When she types this question in search, it shows her the particular document and the chapter in the document where this procedure is described.

I just came across elastic workspace search. Wondering whether that may be appropriate for such a use case

---

<div class="post-metadata">

**Author:** ![aaron-nimocks](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aaron-nimocks/32/73965_2.png) [@aaron-nimocks](https://discuss.elastic.co/u/aaron-nimocks)\
**Post date:** [August 2, 2020, 1:52pm UTC](https://discuss.elastic.co/t/searching-for-content-in-pdf-and-word-documents/243454/6 "2020-08-02T13:52:50Z")

</div>

@tnkumar Both products would work for this but Workplace Search is probably your best option since it can connect directly to Google Drive and requires little configuration and setup vs using ELK.

> **[Connecting Google Drive | Workplace Search documentation \[8.19\] | Elastic](https://www.elastic.co/guide/en/workplace-search/current/workplace-search-google-drive-connector.html)**

---

<div class="post-metadata">

**Author:** ![tnkumar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tnkumar/32/73184_2.png) [@tnkumar](https://discuss.elastic.co/u/tnkumar)\
**Post date:** [August 2, 2020, 3:30pm UTC](https://discuss.elastic.co/t/searching-for-content-in-pdf-and-word-documents/243454/7 "2020-08-02T15:30:19Z")

</div>

Thanks @aaron-nimocks - Is it possible to get started with Workplace search using the 14 day trial account? I do not see a thread specific to Enterprise search or workspace search. If such a thread exists, I can post my questions there.

---

<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:** [August 30, 2020, 3:30pm UTC](https://discuss.elastic.co/t/searching-for-content-in-pdf-and-word-documents/243454/8 "2020-08-30T15:30:29Z")

</div>

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