# Failed to ingest a text file converted into json to elasticsearch

**URL:** <https://discuss.elastic.co/t/failed-to-ingest-a-text-file-converted-into-json-to-elasticsearch/173688>\
**Category:** Elasticsearch\
**Created:** [March 25, 2019, 8:28am UTC](https://discuss.elastic.co/t/failed-to-ingest-a-text-file-converted-into-json-to-elasticsearch/173688 "2019-03-25T08:28:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fahad\_Khan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/fahad_khan/32/42682_2.png) [@Fahad\_Khan](https://discuss.elastic.co/u/Fahad_Khan)\
**Post date:** [March 25, 2019, 8:28am UTC](https://discuss.elastic.co/t/failed-to-ingest-a-text-file-converted-into-json-to-elasticsearch/173688/1 "2019-03-25T08:28:39Z")

</div>

Hi everyone! I created a random text file which has ("sfjldsjfjsdjflsjdfljsdlkfjsdjfl") these random text I have a code to parse an eml to json, so I have read that file and parse it and then dump it into elasticsearch using spark streaming, but when i'm checking my index it doens't show that file there I don't know why.  
ps: the above thing was for experiment, to check whether it'll throw any error or not

---

<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 22, 2019, 8:28am UTC](https://discuss.elastic.co/t/failed-to-ingest-a-text-file-converted-into-json-to-elasticsearch/173688/2 "2019-04-22T08:28:39Z")

</div>

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