hi
getting failed to format message from test.json which has
{"logMessage": "this is some message 01", "sessionID": "some session", "applicationName": "some application", "uniqueId": "some uniqueid", "applicationVersion": "some version", "hostName": "some host", "loggingTime": "2019-11-26 18:04:20"
}
looked at suggestions from previous issues and tried a few things still not able to get it working.
filebeat.yml is
filebeat.inputs:
- type: log
enabled: true
paths:
- /home/test.json
json.keys_under_root: true
json.add_error_key: true
setup.kibana:
host: "localhost:5601"
output.logstash:
hosts: ["localhost:5044"]
processors:
- rename:
fields:
- from: "log"
- to: "message"
now i get something like
{"file":{"path":"/home/test.json"}}
how can i get the full message in kibana logs
I have kept the kibana.yml just as such
server.host: "localhost"
elasticsearch.hosts: ["http://localhost:9200"]
is there a fix yet, can someone guide me to where i can look for a fix.
Thanks