# How to upload textfile to ESdatabase and make it searchable?

**URL:** <https://discuss.elastic.co/t/how-to-upload-textfile-to-esdatabase-and-make-it-searchable/300855>\
**Category:** Elasticsearch\
**Created:** [March 28, 2022, 2:37pm UTC](https://discuss.elastic.co/t/how-to-upload-textfile-to-esdatabase-and-make-it-searchable/300855 "2022-03-28T14:37:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![AJITH](https://avatars.discourse-cdn.com/v4/letter/a/bcef8e/32.png) [@AJITH](https://discuss.elastic.co/u/AJITH)\
**Post date:** [March 28, 2022, 2:37pm UTC](https://discuss.elastic.co/t/how-to-upload-textfile-to-esdatabase-and-make-it-searchable/300855/1 "2022-03-28T14:37:33Z")

</div>

i try to upload textfile to ES database, i try convert textfile to String formate and then store. i dont know is it proper way? or any other way is available in ES for store textfiles and make it searchable?

---

<div class="post-metadata">

**Author:** ![DineshNaik](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dineshnaik/32/89308_2.png) [@DineshNaik](https://discuss.elastic.co/u/DineshNaik)\
**Post date:** [March 28, 2022, 3:07pm UTC](https://discuss.elastic.co/t/how-to-upload-textfile-to-esdatabase-and-make-it-searchable/300855/2 "2022-03-28T15:07:10Z")

</div>

The File data visualizer feature lets you upload a CSV, JSON, or text file. This feature enables you to ingest, parse, and index your file with a few clicks.

The File Data Visualizer feature is found in Kibana under the Machine Learning \> Data Visualizer section. Then click on the "Upload a file" option.

---

<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:** [March 28, 2022, 3:13pm UTC](https://discuss.elastic.co/t/how-to-upload-textfile-to-esdatabase-and-make-it-searchable/300855/3 "2022-03-28T15:13:51Z")

</div>

You can look at FSCrawler.  
It can read files from disk or you can upload files using the rest interface.

---

<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:** [April 25, 2022, 3:14pm UTC](https://discuss.elastic.co/t/how-to-upload-textfile-to-esdatabase-and-make-it-searchable/300855/4 "2022-04-25T15:14:04Z")

</div>

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