# Input plugin vs filter plugin

**URL:** <https://discuss.elastic.co/t/input-plugin-vs-filter-plugin/103492>\
**Category:** Logstash\
**Created:** [October 11, 2017, 7:54am UTC](https://discuss.elastic.co/t/input-plugin-vs-filter-plugin/103492 "2017-10-11T07:54:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ondro\_Tadanai](https://avatars.discourse-cdn.com/v4/letter/o/ce7236/32.png) [@Ondro\_Tadanai](https://discuss.elastic.co/u/Ondro_Tadanai)\
**Post date:** [October 11, 2017, 7:54am UTC](https://discuss.elastic.co/t/input-plugin-vs-filter-plugin/103492/1 "2017-10-11T07:54:33Z")

</div>

Hi all,  
i have question regarding to logstash architecture,  
i will use twitter-input-plugin to scrape some tweets in real-time.  
When I get tweet from logstash-twitter-input i need to call 2 web-services to get additional field to tweet.  
From logstash point of view (performance) is better to customize logstash-input-plugin (and call web-services from input plugin layer) or develop custom filter plugin which will add these additional fields?  
Thanks at all  
Ondrej

---

<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:** [November 8, 2017, 7:54am UTC](https://discuss.elastic.co/t/input-plugin-vs-filter-plugin/103492/2 "2017-11-08T07:54:39Z")

</div>

Closed on November 8, 2017, 7:54am UTC

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