Im Using mac im unable to configure apache log.
im getting error
" Error: Expected one of #, ", ', -, [, {, ] at line 4, column 14 (byte 33) after input { file { path => [
i tried
path => "/Users/tcstsb3/Downloads/log/access_log.log"
path => ["/user....../apache.log"]
path => ["user....../apache.log"]
same error only im getting,
ANY ONE PLZ HELP ME
input {
file {
path => [“/Users/tcstsb3/Downloads/log/access_log”]
type => "apache"
}
}
filter {
grok {
match => { “message” => “%{COMBINEDAPACHELOG}” }
}
}
output {
elasticsearch {
hosts => [“10.145.40.24:9200”]
}
stdout { codec => rubydebug }
}