# Can ingest automatically extract the data for indexing

**URL:** <https://discuss.elastic.co/t/can-ingest-automatically-extract-the-data-for-indexing/86685>\
**Category:** Elasticsearch\
**Created:** [May 22, 2017, 2:27pm UTC](https://discuss.elastic.co/t/can-ingest-automatically-extract-the-data-for-indexing/86685 "2017-05-22T14:27:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anjans](https://avatars.discourse-cdn.com/v4/letter/a/5fc32e/32.png) [@anjans](https://discuss.elastic.co/u/anjans)\
**Post date:** [May 22, 2017, 2:27pm UTC](https://discuss.elastic.co/t/can-ingest-automatically-extract-the-data-for-indexing/86685/1 "2017-05-22T14:27:21Z")

</div>

I am very new to ES.  
I have a basic question,  
to create the index after creating the pipeline as  
\</\>PUT my\_index/my\_type/my\_id?pipeline=attachment  
{  
"data": "e1xydGYxXGFuc2kNCkxvcmVtIGlwc3VtIGRvbG9yIHNpdCBhbWV0DQpccGFyIH0="  
}  
\</\>  
Can Ingest automatically extract the file content if I mention the file name, like

> **[.xyz Domain Names | Join Generation XYZ](https://gen.xyz/)**
>
> .xyz is for every website, everywhere.™ We offer the most flexible and affordable domain names to create choice for the next generation of internet users.

or we have to extract the file content and push the data to elasticsearch?

May be very basic, but please help me .

Thanks,  
Anjan

---

<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:** [May 22, 2017, 4:01pm UTC](https://discuss.elastic.co/t/can-ingest-automatically-extract-the-data-for-indexing/86685/2 "2017-05-22T16:01:19Z")

</div>

No. You need to push data to elasticsearch.

---

<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 19, 2017, 4:01pm UTC](https://discuss.elastic.co/t/can-ingest-automatically-extract-the-data-for-indexing/86685/3 "2017-06-19T16:01:22Z")

</div>

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