I am facing two issues when I am LOGGING the LOG MESSAGES in JSON FORMAT under logstash node through rsyslog node .
jboss logging flow is like this.
How to use the thowable logging pattern in jboss EAP 6.4. you can refer the https://docs.jboss.org/jbossas/javadoc/7.1.2.Final/org/apache/log4j/EnhancedPatternLayout.htmllink.
I have tried "throwbale" pattern like below under JBOSS EAP 6.4: this configuration took from standalone.xml
I did not find any example in internet for throwbale logging pattern.
I am sending message in json format from JBOSS SERVER to LOGSTASH node through RSYSLOG.
As the messsages are in json format, they are failed to be parsed by the json parser at logstash node and Hence they are not logging under /var/log/logging/app.log directory of logstash node.
I have tried
Messages having special characters like "",:,'' ,().Especially these kind of messsages are failing and NOT logging under logstash node.
can somebody help me how to ESCAPE THE SPECIAL CHARACTERS in the the messages in THROUGH JBOSS LOGGING FORMAT.So that logs will be logged under logtstash node and we can avoid json parsing as well.