How to configure rsyslog template for Exception error for remote logging? How to configure rsyslog template for Exception error for remote logging? json json

How to configure rsyslog template for Exception error for remote logging?


The rsyslog configuration files I'm using are correct, that is, Java exception log is indeed wrapped into a valid JSON file. However, Logstash is complaining about a _jsonparsefailure, so this problem is probably related to Logstash Ruby code, and not on the rsyslog side.