Hi, We wanted to implement API logging where requests and response payloads of api calls are logged. Also we want to track all user actions on a given screen - did he hit submit/back/used other actions etc.
We wanted to leverage Azure Blob Storage for storing this kind of data. Has anyone implemented this in past OR if they are any design/implementation recommendations. I see pega OOTB supports certain usecases like case attachments to go in Azure blob storage via repository rule but couldnt see how i can implement my usecase. Would it be more of custom development.
@DhananjayU To log API requests, responses, and user actions using Azure Blob Storage in Pega, you will need to do some custom development. First, create a middleware component (like a Pega service) to capture incoming and outgoing API payloads. Then, use Azure’s SDK or Pega’s Data-Admin-Blob class to upload these logs to Blob Storage. For tracking user actions (like submitting or clicking back), you can use JavaScript to capture these events on the front end and then send the data to Pega. Once received, log the actions in a dedicated table or log, and use an activity to store it in Azure Blob Storage. While Pega has out-of-the-box support for attachments in Blob Storage, this use case requires custom integration to meet your logging needs.