I have an erroe while using logstash to config with elasticsearch

C:\Program Files\Elastic\Elasticsearch\logstash-6.4.0\logstash-6.4.0\bin>logstas

h.bat agent -f ..\conf
ERROR: Unknown command 'agent'

See: 'bin/logstash --help'
[ERROR] 2018-08-26 18:29:55.009 [main] Logstash - java.lang.IllegalStateExceptio
n: Logstash stopped processing because of an error: (SystemExit) exit
indent preformatted text by 4 spaces

I think the error message is quite clear: agent is not a valid command line parameter. Just removing that will probably solve the problem.

1 Like

Thanks for your feedback, I am ok now with this error.

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