elk部署logstash conf配置提示错误

错误提示:

runner - The given configuration is invalid. Reason: Expected one of #, => at line 8, column 10 (byte 142) after input {

​ file {

​ path => [“/etc/httpd/logs/access_log”]

​ start_position => “beginning”

}

filter {

​ grok

[ERROR] 2018-11-30 10:17:23.865 [LogStash::Runner] Logstash - java.lang.IllegalStateException: Logstash stopped processing because of an error: (SystemExit) exit

解决方法:

input 里面少了一个结尾}