Skip to main content

Runtime Logs

Runtime logs provide insights into application and gateway activity for integrations deployed on WSO2 Cloud - Integration Platform. They centralize diverse log sources to streamline debugging and troubleshooting across environments.

note

All personally identifiable information (PII) is resolved at the frontend service level. Only relevant UUIDs are stored in logs.

Access runtime logs

For all integration types, go to Observability > Runtime Logs in the left navigation. This unified view is available at both the project and integration levels, and supports filtering and search across all log entries.

Runtime logs

Depending on the integration type, you can also access runtime logs from the Integration Overview page:

  • Automations — Each execution in the environment card has a View Logs button that opens logs scoped to that specific run.
  • Event and file integrations — Latest logs are visible directly on the environment card without navigating to the Observability section.
  • Integration as APIs and AI Agents - Each environment card has a View Logs button that opens logs filtered to that specific environment and integration version.

Understand runtime logs

Each log entry is either an application log or a gateway log.

Application logs

FieldDescription
timestampThe time when the log entry was created.
environmentThe environment in which the integration is running (for example, Development).
logTypeThe type of log entry (for example, Application, Gateway).
versionThe version or deployment track of the integration.
messageThe log message providing details about the event.

Gateway logs

Gateway logs capture inbound and outbound request details from the gateway's perspective.

FieldDescription
timestampThe time when the request is received by the gateway.
logLineDetails about the request, including Method, RequestPath, ServicePath, UserAgent, CorrelationID, ServiceHost, and Duration.
gatewayCodeThe state of the request from the gateway's perspective. See Gateway codes.
statusCodeThe HTTP status code returned to the client.
integrationVersionThe version of the invoked integration.
envNameThe environment of the inbound request (for example, Development, Production).

Gateway codes

CodeDescription
BACKEND_RESPONSEThe request was successfully processed and the backend returned a response to the client.
CORS_RESPONSEThe request was a CORS (Cross-Origin Resource Sharing) preflight request.
AUTH_FAILUREThe request failed at the gateway due to an authentication or authorization issue, such as an invalid token.
NO_HEALTHY_BACKENDThe request failed because no healthy backend instance was available.
RATE_LIMITEDThe request was rejected because it exceeded the rate limit configured for the integration.
RESOURCE_NOT_FOUNDNo matching API resource was found for the inbound request. This can result from a mismatch in the HTTP method, path, or host.
BACKEND_TIMEOUTThe backend did not respond within the configured timeout period.
GATEWAY_ERRORThe request failed due to an error in the gateway itself.

Filter runtime logs

You can narrow log entries using the following filters:

FilterDescription
TypeFilter by log level: Error, Warn, Info, or Debug.
EnvironmentFilter by the environment in which the integration is running.
Deployment TrackFilter by the deployment track of the integration.
Time RangeFilter by a specific time window.
Content SearchSearch for specific keywords or phrases within log messages.
Regex SearchMatch log messages using regular expressions.

Type your search query in the search bar and press Enter to apply a content or regex search filter.

note

WSO2 Cloud uses Lucene query syntax for regex search. For more information on Lucene syntax, see Lucene Query Syntax Documentation.

What's next

  • Metrics — Monitor request throughput, latency, and resource usage over time.
  • Anomaly detection and alerts — Configure alerts to get notified when metrics exceed defined thresholds.