Unable to get Logs saved in JSON file rather than text file.
Hello!
I am new to Pega, and My POC requirement is that I have to view the Logs in External Server (Log Viewer etc), and for that I am trying to Use Kibana Log viewer to get the logs directly from the Pega Server and show it in Kibana, so that we can filter out results and see the logs in readable manner (graphs etc).
I was following below the link for that purpose:
The problem is I have added the appender in prlog4j2.xml for getting the logs in Json file, and also have added <AppenderRef ref="JSONAppender"/> to send info from a logger (or the default root logger) to the appender, (reference: https://community1.pega.com/community/pega-support/question/how-add-appenders-prlog4j2xml-enable-json-appender )
but I am unable to see any JSON file in the Logs directory.. I am using Pega 7.3.
Can some one please Help me out in this regard.
Thank you in Advance.