Question
TForce Freight
TForce Freight
US
TForce Freight
Posted: Jun 26, 2025
Last activity: Jul 10, 2025
Last activity: 10 Jul 2025 8:48 EDT
send logs to azure appinsights
Does any one know what all details are needed to send the logs from Pega to azure appinsights .Can you please let me know how we can do through connect-REST API
@RashmithaM
To send logs from Pega to Azure Application Insights using Connect-REST, first get the Instrumentation Key or Connection String from your Azure App Insights resource. Then create a Connect-REST rule in Pega with the endpoint
https://dc.services.visualstudio.com/v2/track. In your activity or data transform, build a JSON payload that includes log details like message, severity, and timestamp, following the Application Insights format. Add a header withContent-Typeasapplication/jsonandx-api-keyas the Instrumentation Key. You can use a data page or activity to call this Connect-REST rule whenever you want to send logs. After this setup, your logs should start appearing in the Azure Application Insights portal under Traces or Custom Events