# LogStash Out Filters

**URL:** <https://discuss.elastic.co/t/logstash-out-filters/86252>\
**Category:** Logstash\
**Created:** [May 18, 2017, 12:00pm UTC](https://discuss.elastic.co/t/logstash-out-filters/86252 "2017-05-18T12:00:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pfabrizi](https://avatars.discourse-cdn.com/v4/letter/p/7feea3/32.png) [@pfabrizi](https://discuss.elastic.co/u/pfabrizi)\
**Post date:** [May 18, 2017, 12:00pm UTC](https://discuss.elastic.co/t/logstash-out-filters/86252/1 "2017-05-18T12:00:53Z")

</div>

I an mew to the ELK stack, but I have an understanding of the how it works. I was attempting to run a python script from my output using the exec command but when I do this I generate an error: Cannot create pipeline {:reason=\>"Expected one of #, input, filter, output at line 91, column 1 (byte 2859) after "}

the output send to elasticsearch and I added a line:

exex {  
command =\> " [python.py](http://python.py) args"  
}

is this even possible?

Thanks!

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [May 20, 2017, 11:37pm UTC](https://discuss.elastic.co/t/logstash-out-filters/86252/2 "2017-05-20T23:37:55Z")

</div>

It is possible, but can you post the entire section, it might provide more clues.

---

<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:** [June 17, 2017, 11:38pm UTC](https://discuss.elastic.co/t/logstash-out-filters/86252/3 "2017-06-17T23:38:41Z")

</div>

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