Question

3
Replies
82
Views
AmjadH30 Member since 2019 2 posts
Royal Cyber Inc
Posted: May 7, 2019
Last activity: May 8, 2019
Closed

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:

https://community.pega.com/knowledgebase/configuring-elasticsearch-logstash-and-kibana-elk-log-management#pegalogs

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.

Pega Academy
Moderation Team has archived post
Share this page LinkedIn