# Is it possible to call a python script in logstash?

**URL:** <https://discuss.elastic.co/t/is-it-possible-to-call-a-python-script-in-logstash/327825>\
**Category:** Logstash\
**Created:** [March 16, 2023, 8:28am UTC](https://discuss.elastic.co/t/is-it-possible-to-call-a-python-script-in-logstash/327825 "2023-03-16T08:28:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mruthyu](https://avatars.discourse-cdn.com/v4/letter/m/bb73d2/32.png) [@mruthyu](https://discuss.elastic.co/u/mruthyu)\
**Post date:** [March 16, 2023, 8:28am UTC](https://discuss.elastic.co/t/is-it-possible-to-call-a-python-script-in-logstash/327825/1 "2023-03-16T08:28:32Z")

</div>

Is it possible to call a python script in logstash pipeline? or only the RUBY language is supported?

---

<div class="post-metadata">

**Author:** ![Rios](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rios/32/95745_2.png) [@Rios](https://discuss.elastic.co/u/Rios)\
**Post date:** [March 16, 2023, 8:44am UTC](https://discuss.elastic.co/t/is-it-possible-to-call-a-python-script-in-logstash/327825/2 "2023-03-16T08:44:11Z")

</div>

You may use the [exec](https://www.elastic.co/guide/en/logstash/current/plugins-inputs-exec.html) plugin.

---

<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:** [April 13, 2023, 8:44am UTC](https://discuss.elastic.co/t/is-it-possible-to-call-a-python-script-in-logstash/327825/3 "2023-04-13T08:44:53Z")

</div>

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