# How to index a file with elasticsearch 5.5.1

**URL:** <https://discuss.elastic.co/t/how-to-index-a-file-with-elasticsearch-5-5-1/95657>\
**Category:** Elasticsearch\
**Created:** [August 3, 2017, 7:39am UTC](https://discuss.elastic.co/t/how-to-index-a-file-with-elasticsearch-5-5-1/95657 "2017-08-03T07:39:50Z")\
**Posts on this page:** 3\
**Page:** 2

<div class="post-metadata">

**Author:** ![bilpor](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bilpor/32/24043_2.png) [@bilpor](https://discuss.elastic.co/u/bilpor)\
**Post date:** [August 4, 2017, 10:28am UTC](https://discuss.elastic.co/t/how-to-index-a-file-with-elasticsearch-5-5-1/95657/21 "2017-08-04T10:28:33Z")

</div>

Hi David,

Finally some success 🙂 thank you. After closing and restarting IE, and running the command line with `--restart` the \_status.js file updated the index count to 3. I then went back to Kibana and ran the search and hey presto all the text came back. Now the only thing I need to be able to do is bring back the path/filename of the actual file.

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [August 4, 2017, 10:45am UTC](https://discuss.elastic.co/t/how-to-index-a-file-with-elasticsearch-5-5-1/95657/22 "2017-08-04T10:45:42Z")

</div>

Great. Have a look at: [https://github.com/dadoonet/fscrawler#ignore-content](https://github.com/dadoonet/fscrawler#ignore-content)

---

<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:** [September 1, 2017, 10:46am UTC](https://discuss.elastic.co/t/how-to-index-a-file-with-elasticsearch-5-5-1/95657/23 "2017-09-01T10:46:04Z")

</div>

Closed on September 1, 2017, 10:46am UTC

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

[Previous page](https://discuss.elastic.co/t/how-to-index-a-file-with-elasticsearch-5-5-1/95657.md?page=1)
