# Logstash Errors out on executing .conf file

**URL:** <https://discuss.elastic.co/t/logstash-errors-out-on-executing-conf-file/162426>\
**Category:** Logstash\
**Created:** [December 29, 2018, 9:45pm UTC](https://discuss.elastic.co/t/logstash-errors-out-on-executing-conf-file/162426 "2018-12-29T21:45:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![OpSecMonkey](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/opsecmonkey/32/46110_2.png) [@OpSecMonkey](https://discuss.elastic.co/u/OpSecMonkey)\
**Post date:** [December 29, 2018, 9:45pm UTC](https://discuss.elastic.co/t/logstash-errors-out-on-executing-conf-file/162426/1 "2018-12-29T21:45:35Z")

</div>

Hello everyone I have a question I keep getting this error. This is fresh install on a windows machine and all services are running. My config file is correct because you guys helped me build it. What could I be doing wrong?

the command is C:\elk\logstash\bin\logstash -f emails.conf  
 ![](https://i.ibb.co/vx0QT26/error.png)[/url]

Thats the error I get any ideas what I can be doing wrong.

I will check back shortly

---

<div class="post-metadata">

**Author:** ![OpSecMonkey](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/opsecmonkey/32/46110_2.png) [@OpSecMonkey](https://discuss.elastic.co/u/OpSecMonkey)\
**Post date:** [December 30, 2018, 12:36am UTC](https://discuss.elastic.co/t/logstash-errors-out-on-executing-conf-file/162426/2 "2018-12-30T00:36:03Z")

</div>

Fixed it. Had a few beers and new look at it and it was a type in my config file.

---

<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:** [January 27, 2019, 12:36am UTC](https://discuss.elastic.co/t/logstash-errors-out-on-executing-conf-file/162426/3 "2019-01-27T00:36:09Z")

</div>

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