# I run the logstash , it will getting error

**URL:** <https://discuss.elastic.co/t/i-run-the-logstash-it-will-getting-error/82242>\
**Category:** Logstash\
**Created:** [April 13, 2017, 4:56am UTC](https://discuss.elastic.co/t/i-run-the-logstash-it-will-getting-error/82242 "2017-04-13T04:56:35Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![bvnages](https://avatars.discourse-cdn.com/v4/letter/b/ecccb3/32.png) [@bvnages](https://discuss.elastic.co/u/bvnages)\
**Post date:** [April 13, 2017, 4:56am UTC](https://discuss.elastic.co/t/i-run-the-logstash-it-will-getting-error/82242/1 "2017-04-13T04:56:35Z")

</div>

Sending Logstash's logs to /elk/logstash-5.2.0/logs which is now configured via log4j2.properties  
[2017-04-13T04:45:15,744][INFO][logstash.setting.writabledirectory] Creating directory {:setting=\>"path.queue", :path=\>"/elk/logstash-5.2.0/data/queue"}  
ERROR: No configuration file was specified. Perhaps you forgot to provide the '-f yourlogstash.conf' flag?  
usage:  
bin/logstash -f CONFIG\_PATH [-t] [-r] [] [-w COUNT] [-l LOG]  
bin/logstash -e CONFIG\_STR [-t] [--log.level fatal|error|warn|info|debug|trace] [-w COUNT] [-l LOG]  
bin/logstash -i SHELL [--log.level fatal|error|warn|info|debug|trace]  
bin/logstash -V [--log.level fatal|error|warn|info|debug|trace]  
bin/logstash --help

Could you please help me.

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [April 13, 2017, 7:03am UTC](https://discuss.elastic.co/t/i-run-the-logstash-it-will-getting-error/82242/2 "2017-04-13T07:03:37Z")

</div>

How are you starting Logstash?

---

<div class="post-metadata">

**Author:** ![bvnages](https://avatars.discourse-cdn.com/v4/letter/b/ecccb3/32.png) [@bvnages](https://discuss.elastic.co/u/bvnages)\
**Post date:** [April 13, 2017, 7:04am UTC](https://discuss.elastic.co/t/i-run-the-logstash-it-will-getting-error/82242/3 "2017-04-13T07:04:50Z")

</div>

./logstash

in logstash folder /bin

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [April 13, 2017, 7:10am UTC](https://discuss.elastic.co/t/i-run-the-logstash-it-will-getting-error/82242/4 "2017-04-13T07:10:29Z")

</div>

The error message tells you in plain text what the problem is. I don't know how I can explain it in a different way. See also [https://www.elastic.co/guide/en/logstash/current/running-logstash-command-line.html](https://www.elastic.co/guide/en/logstash/current/running-logstash-command-line.html).

---

<div class="post-metadata">

**Author:** ![bvnages](https://avatars.discourse-cdn.com/v4/letter/b/ecccb3/32.png) [@bvnages](https://discuss.elastic.co/u/bvnages)\
**Post date:** [April 14, 2017, 4:33am UTC](https://discuss.elastic.co/t/i-run-the-logstash-it-will-getting-error/82242/5 "2017-04-14T04:33:22Z")

</div>

How to configure that conf file

Could you please tell me.

---

<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 12, 2017, 4:34am UTC](https://discuss.elastic.co/t/i-run-the-logstash-it-will-getting-error/82242/6 "2017-05-12T04:34:30Z")

</div>

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