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'
}
}