Question
Highmark
IN
Last activity: 11 Dec 2023 9:53 EST
Differentiating variables for splunk when Pega is deployed on openshift container
Hi Team,
We are deploying Pega on openshift container with Pega platform version 8.8.2. Logs are by default forward to splunk however what we noticed is that the logs which are part of async root are logged with AppenderRef as "PEGA" and there is no key attribute on which logs can be uniquely filtered from different sources like PegaRULES.log, PegaRULES-ALERT.log, PegaRULES-ALERTSECRUTIy.log
Appender details from prlog4j2.xml :
<asyncRoot> <AppenderRef ref="CONSOLE"/> <AppenderRef ref="PEGA"/> <AppenderRef ref="JSONAppender" /> <AppenderRef ref="ALERT" level="ALERT"/> <AppenderRef ref="ALERTSECURITY" level="ALERT"/> </asyncRoot>
Do you know if prlog4j2.xml has to be customized to do that or any other changes needed to identify fields like source file name ?
Thanks,
Mayank Garg