I run the logstash , it will getting error

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.

How are you starting Logstash?

./logstash

in logstash folder /bin

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.

How to configure that conf file

Could you please tell me.

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