# Is it possible to use a field from one filter to the next filter

**URL:** <https://discuss.elastic.co/t/is-it-possible-to-use-a-field-from-one-filter-to-the-next-filter/220701>\
**Category:** Logstash\
**Created:** [February 24, 2020, 5:25pm UTC](https://discuss.elastic.co/t/is-it-possible-to-use-a-field-from-one-filter-to-the-next-filter/220701 "2020-02-24T17:25:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Raj\_K](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/raj_k/32/57638_2.png) [@Raj\_K](https://discuss.elastic.co/u/Raj_K)\
**Post date:** [February 24, 2020, 5:25pm UTC](https://discuss.elastic.co/t/is-it-possible-to-use-a-field-from-one-filter-to-the-next-filter/220701/1 "2020-02-24T17:25:10Z")

</div>

I am using multiple filters in my logstash. I want to use one field from a filter to my next filter as a query parameter. Is it possible?

---

<div class="post-metadata">

**Author:** ![ITIC](https://avatars.discourse-cdn.com/v4/letter/i/90ced4/32.png) [@ITIC](https://discuss.elastic.co/u/ITIC)\
**Post date:** [February 25, 2020, 9:08am UTC](https://discuss.elastic.co/t/is-it-possible-to-use-a-field-from-one-filter-to-the-next-filter/220701/2 "2020-02-25T09:08:04Z")

</div>

Hi

What happened when you tried it? What was the output of `stdout{}`?

Please, post a sample imput together with your code and the output of `stdout{}` if you need further assistance.

Hope this helps.

---

<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 24, 2020, 9:08am UTC](https://discuss.elastic.co/t/is-it-possible-to-use-a-field-from-one-filter-to-the-next-filter/220701/3 "2020-03-24T09:08:05Z")

</div>

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