# Can we create dependent inputs in logstash pipeline?

**URL:** <https://discuss.elastic.co/t/can-we-create-dependent-inputs-in-logstash-pipeline/329436>\
**Category:** Logstash\
**Created:** [April 5, 2023, 2:15pm UTC](https://discuss.elastic.co/t/can-we-create-dependent-inputs-in-logstash-pipeline/329436 "2023-04-05T14:15:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Disha\_Bodade](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/disha_bodade/32/84522_2.png) [@Disha\_Bodade](https://discuss.elastic.co/u/Disha_Bodade)\
**Post date:** [April 5, 2023, 2:15pm UTC](https://discuss.elastic.co/t/can-we-create-dependent-inputs-in-logstash-pipeline/329436/1 "2023-04-05T14:15:20Z")

</div>

Hi Team,  
I have requirement to get the links from rss feed and extract each link and store its XML page source as a document in ES.

I am trying to use rss and http\_poller input plugin together, something like below conceptually

```auto
input{
     rss{
             url=> "feedurl"
        }
# then link field will have all links
  http_poller{
           urls=>{ linkurl => %{link} }
}

```

Is is possible in logstash?

thanks,  
disha

---

<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:** [April 5, 2023, 2:37pm UTC](https://discuss.elastic.co/t/can-we-create-dependent-inputs-in-logstash-pipeline/329436/2 "2023-04-05T14:37:32Z")

</div>

You cannot reference the fields of an event in the configuration of an input. However, you should be able to do this using an http filter instead of an input.

---

<div class="post-metadata">

**Author:** ![Disha\_Bodade](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/disha_bodade/32/84522_2.png) [@Disha\_Bodade](https://discuss.elastic.co/u/Disha_Bodade)\
**Post date:** [April 7, 2023, 4:51pm UTC](https://discuss.elastic.co/t/can-we-create-dependent-inputs-in-logstash-pipeline/329436/3 "2023-04-07T16:51:15Z")

</div>

Thanks Badger,  
It has solved and achieved what was expected.

---

<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:** [May 5, 2023, 4:51pm UTC](https://discuss.elastic.co/t/can-we-create-dependent-inputs-in-logstash-pipeline/329436/4 "2023-05-05T16:51:54Z")

</div>

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