# Lancer un script python depuis une config Logstash

**URL:** <https://discuss.elastic.co/t/lancer-un-script-python-depuis-une-config-logstash/172119>\
**Category:** Discussions en français\
**Tags:** elastic-stack-monitoring\
**Created:** [March 13, 2019, 10:24am UTC](https://discuss.elastic.co/t/lancer-un-script-python-depuis-une-config-logstash/172119 "2019-03-13T10:24:09Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![gabriel\_tessier](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gabriel_tessier/32/27911_2.png) [@gabriel\_tessier](https://discuss.elastic.co/u/gabriel_tessier)\
**Post date:** [March 17, 2019, 1:36am UTC](https://discuss.elastic.co/t/lancer-un-script-python-depuis-une-config-logstash/172119/2 "2019-03-17T01:36:20Z")

</div>

Bonjour,  
Y'a une discussion similaire ici juste au cas ou.

> [@How to call python script from Logstash to process (partialy) logs](https://discuss.elastic.co/t/how-to-call-python-script-from-logstash-to-process-partialy-logs/40009):
>
> Hello, I have to process parts of the logging information using python script (python beautifulsoup and other useful stuff which I do not want to reimnplement in Ruby). What is the simplest way to do this? As of now I have found two ways: exec output plugin. In this case, my python script is launched after elasticsearch output and I can make additional processing and update event in Elasticsearch at the end (sending all the required ids needed to the script through cmdline) Create my own fi…

---

_[View the full topic](https://discuss.elastic.co/t/lancer-un-script-python-depuis-une-config-logstash/172119)._
