# Events to Exec output plugin

**URL:** <https://discuss.elastic.co/t/events-to-exec-output-plugin/175142>\
**Category:** Logstash\
**Created:** [April 3, 2019, 8:49am UTC](https://discuss.elastic.co/t/events-to-exec-output-plugin/175142 "2019-04-03T08:49:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![artobstrel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/artobstrel/32/16874_2.png) [@artobstrel](https://discuss.elastic.co/u/artobstrel)\
**Post date:** [April 3, 2019, 8:49am UTC](https://discuss.elastic.co/t/events-to-exec-output-plugin/175142/1 "2019-04-03T08:49:23Z")

</div>

Hello guys!

> **I'll try send event to my program on python with exec plugin**
>
> ```
> output {
> exec {
> command => "python /somepath/my_script.py"
> }
> }
> 
> ```

> **I can send an arbitrary field**
>
> ```
> command => "python /somepath/my_script.py %{some_field}"
> 
> ```

**Is it possible to send the event completely with all fields?**

---

<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:** [May 1, 2019, 8:49am UTC](https://discuss.elastic.co/t/events-to-exec-output-plugin/175142/2 "2019-05-01T08:49:26Z")

</div>

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