Json Logstash

Hi guys,
I'm trying to add a json file to my ELK and I can't get it in any way, they could help me, I'm posting my confs. Thank you!

input {
file {
path => "/tmp/teste/teste.json"
start_position => "beginning"
sincedb_path => "/dev/null"
codec => "json"
}
}
output {

elasticsearch {
  hosts => ["https://10.171.1.30:9200","https://10.171.5.11:9200"]
  index => "magento-logs"
  cacert => "/etc/logstash/ca.crt"
  user => 'xxx'
  password => 'xxxxxxx'

}
}

Do you get any errors? If you change the output to

output { stdout { codec => rubydebug } }

then what do the events look like?

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