Hi, I have the following json :
[{"nqdf": 24, "qqqf": 34}]
and I try to send him to logstash.
this is my filebeat.yml :
- type: log
enabled: true
paths:- C:\beats\jsonfiles*.json
json.keys_under_root: true
json.message_key: event
json.add_error_key: true
- C:\beats\jsonfiles*.json
filebeat.config.modules:
path: ${path.config}/modules.d/*.yml
reload.enabled: true
filebeat.config.inputs:
enabled: true
reload.enabled: true
reload.period: 10s
output.logstash:
hosts: ["xx.xx.xx.xx:5044"]
processors:
- add_host_metadata:
this is my logstash.conf :
input {
beats {
codec => "json"
port => 5044
host => "0.0.0.0"
}
}
filter {
}
output {
stdout{}
}
I don't get any values on screen when I run logstash.. Maybe someone can help...
Thanks