# Include specific fields from document using Ingest pipeline

**URL:** https://discuss.elastic.co/t/include-specific-fields-from-document-using-ingest-pipeline/262734
**Category:** Elasticsearch
**Tags:** ingest-pipeline
**Created:** [January 31, 2021, 3:07am UTC](https://discuss.elastic.co/t/include-specific-fields-from-document-using-ingest-pipeline/262734 "2021-01-31T03:07:57Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![mussa572](https://avatars.discourse-cdn.com/v4/letter/m/a698b9/32.png) [@mussa572](https://discuss.elastic.co/u/mussa572)
#### Post date: [January 31, 2021, 3:07am UTC](https://discuss.elastic.co/t/include-specific-fields-from-document-using-ingest-pipeline/262734/1 "2021-01-31T03:07:57Z")

</div>

Hi  
I am ingesting following document to elasticsearch directly . First I am only interested in `wprss_ftp_feed_source` and its values and exclude all other fields before they are ingested into index .

second after selecting the `wprss_ftp_feed_source` , I am also looking to ingesting the values as individual fields in a document .

I am looking for guide line ,which pipeline processor of ingest pipeline I can use to achive above

```auto
"meta": {
 "wprss_ftp_taxonomies": [
   {
     "value": "a:0:{}",
     "raw": "a:0:{}",
     "boolean": false,
     "date": "1971-01-01",
     "datetime": "1971-01-01 00:00:01",
     "time": "00:00:01"
   }
 ],
 "wprss_ftp_feed_source": [
   {
     "value": "14",
     "raw": "14",
     "long": 14,
     "double": 14,
     "boolean": false,
     "date": "1971-01-01",
     "datetime": "1971-01-01 00:00:01",
     "time": "00:00:01"
   }
 ],
 "wprss_ftp_media:thumbnail": [
   {
     "value": "",
     "raw": "",
     "boolean": false,
     "date": "1971-01-01",
     "datetime": "1971-01-01 00:00:01",
     "time": "00:00:01"
   }
 ],

```

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [February 1, 2021, 1:02am UTC](https://discuss.elastic.co/t/include-specific-fields-from-document-using-ingest-pipeline/262734/2 "2021-02-01T01:02:00Z")

</div>

I would try [JSON processor | Elasticsearch Reference [7.10] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/7.10/json-processor.html) and set `field` to `meta. wprss_ftp_feed_source` and see if that works (I didn't try it though sorry, just an idea to start).

---

<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: [March 1, 2021, 1:02am UTC](https://discuss.elastic.co/t/include-specific-fields-from-document-using-ingest-pipeline/262734/3 "2021-03-01T01:02:45Z")

</div>

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