# Logstash plugin interface

**URL:** <https://discuss.elastic.co/t/logstash-plugin-interface/144137>\
**Category:** Logstash\
**Created:** [August 13, 2018, 9:43am UTC](https://discuss.elastic.co/t/logstash-plugin-interface/144137 "2018-08-13T09:43:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ayden](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ayden/32/51432_2.png) [@Ayden](https://discuss.elastic.co/u/Ayden)\
**Post date:** [August 13, 2018, 9:43am UTC](https://discuss.elastic.co/t/logstash-plugin-interface/144137/1 "2018-08-13T09:43:37Z")

</div>

Hello.

I'm documenting my elasticsearch + logstash solution and I was wondering how the connection between logstash and its plugins work.

Do the plugins implement any interface? Which? Or is this via HTTP?

To clarify my question, I'm trying to fill the "blanks" in this component diagram:  
 ![Screenshot_3](https://us1.discourse-cdn.com/elastic/original/3X/1/8/184c4c88df48f05b8696e49ddeb14a6aff379c9d.png)

Thanks in advance

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [August 13, 2018, 9:51am UTC](https://discuss.elastic.co/t/logstash-plugin-interface/144137/2 "2018-08-13T09:51:34Z")

</div>

Logstash plugins are classes. Each plugin type (input, output, filter, codecc) subclasses a different class. Plugins execute within the Logstash process and communicate with the rest of Logstash via normal function calls.

---

<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:** [September 10, 2018, 9:51am UTC](https://discuss.elastic.co/t/logstash-plugin-interface/144137/3 "2018-09-10T09:51:35Z")

</div>

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