[root@localhost logstash-6.3.0]# ./bin/logstash –f logstash.conf
ERROR: Unknown command 'ï¿½f'
See: 'bin/logstash --help'
[ERROR] 2019-09-09 11:27:30.255 [main] Logstash - java.lang.IllegalStateException: Logstash stopped processing because of an error: (SystemExit) exit
Please check this issue and let me know
I suggest you try
sh -x ./bin/logstash –f logstash.conf
to see which command is generating that error.
I got this result: https://pastebin.com/A4evg40b
Please check further
It took me a while to understand this. You can see that at the end of the java exec is
org.logstash.Logstash $'\226f' logstash.conf
Your problem is that where you have '-f logstash.conf' on your command line, you have used an en-dash (octal \226 in Windows CP1251) and not a hyphen (octal \55, decimal 45). That is, you have –f instead of -f.
Thank you so much! It worked You are a genius!
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.