# Http\_poller input and excluding parent json properties for output to elastic

**URL:** <https://discuss.elastic.co/t/http-poller-input-and-excluding-parent-json-properties-for-output-to-elastic/305098>\
**Category:** Logstash\
**Created:** [May 18, 2022, 4:39pm UTC](https://discuss.elastic.co/t/http-poller-input-and-excluding-parent-json-properties-for-output-to-elastic/305098 "2022-05-18T16:39:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dwittner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dwittner/32/105879_2.png) [@dwittner](https://discuss.elastic.co/u/dwittner)\
**Post date:** [May 18, 2022, 4:39pm UTC](https://discuss.elastic.co/t/http-poller-input-and-excluding-parent-json-properties-for-output-to-elastic/305098/1 "2022-05-18T16:39:41Z")

</div>

afternoon

My poller reads from a source where the array that I wish to be the source of the Elasticsearch output plugin in not the parent and not the only property.

How can I either filter appropriately OR instruct the Elasticsearch output plugin to ignore other properties and pull from the array that is nested?

I thank you

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [May 18, 2022, 5:12pm UTC](https://discuss.elastic.co/t/http-poller-input-and-excluding-parent-json-properties-for-output-to-elastic/305098/2 "2022-05-18T17:12:08Z")

</div>

Possibly some combination of a prune filter to remove unwanted fields, and a mutate filter to move the interesting array to the top level. Without seeing an example of the data it is hard to say.

---

<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 15, 2022, 5:12pm UTC](https://discuss.elastic.co/t/http-poller-input-and-excluding-parent-json-properties-for-output-to-elastic/305098/3 "2022-06-15T17:12:59Z")

</div>

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