How many days of Dev Portal audit logs can I recover?
Konnect only collects audit logs from the past seven days, so you can only recover up to seven days of logs from the current date.
You can use replay jobs in Konnect to recover audit logs. These are useful when you’ve missed audit log entries due to an error or a misconfigured audit log webhook.
Configure an audit log webhook in Konnect with the SIEM endpoint, the access key, and the log format. Then, configure audit logs for your Dev Portal by adding the audit log webhook that you just configured. You can then navigate to your Dev Portal audit log configuration and click the Replay tab to recover audit logs from a specified time frame.
This tutorial uses SumoLogic, but you can apply the same steps to your SIEM provider.
This tutorial requires a Konnect Plus account. If you don’t have a Konnect account, you can get started quickly with our onboarding wizard.
To recover audit logs, you need the Admin role for audit logs.
For this tutorial, you’ll need a Dev Portal pre-configured. If you don’t have these settings already configured, follow these steps to pre-configure it:
To use the audit log webhook, you need a configured SIEM provider. In this tutorial, we’ll use SumoLogic, but you can use any SIEM provider that supports the ArcSight CEF Format or raw JSON. Konnect supports any HTTP authorization header type.
Before you can push audit logs to your SIEM provider, configure the service to receive logs. This configuration is specific to your vendor.
In this tutorial, we’ll configure an HTTPS data collector and source in SumoLogic.
Konnect
.Konnect
.Konnect
.If needed, configure your network’s firewall settings to allow traffic through the 8071
TCP or UDP port that Konnect uses for audit logging. See the Konnect ports and network requirements.
To complete this tutorial, you’ll need an audit log destination and webhook configured. If you don’t already have one configured, follow these steps:
SumoLogic
.https://endpoint4.collection.sumologic.com/receiver/v1/http/1234abcd
.Authorization
header of requests to that endpoint.(Optional) Click Disable SSL Verification to disable SSL verification of the host endpoint when delivering payloads.
We only recommend disabling SSL verification when using self-signed SSL certificates in a non-production environment as this can subject you to man-in-the-middle and other attacks.
To validate that the webhook is configured correctly, you can log in to your Dev Portal with the account you created in the prerequisites. This should trigger a log in SumoLogic. Sometimes it can take a minute to populate the logs.
Dev Portal audit logs allow you to recover audit logs by configuring a replay job.
Last 6 hours
.The replay job will now display one of the following statuses:
Status |
Description |
---|---|
Unconfigured | The job has not been set up. This is the job’s initial state. |
Accepted | The job has been accepted for scheduling. |
Pending | The job has been scheduled. |
Running |
The job is in progress. When a replay job is running , a request to update the job will return a 409 response code until it has completed or failed.
|
Completed | The job has finished with no errors. |
Failed | The job has failed. |
Once the replay job is marked as Complete, you can view the recovered audit logs in your SIEM provider. If you’re using SumoLogic, navigate to the log search and search for _source=Konnect
. You should see logs like the following:
2025-06-23T14:28:47Z konghq.com CEF:0|KongInc|Dev-Portal|1.0|AUTHENTICATION_TYPE_BASIC|AUTHENTICATION_OUTCOME_SUCCESS|0|rt=1750688927556 src=172.71.232.22 request=/api/v2/developer/authenticate success=true org_id=998db3e4-5cb7-4dd5-b51c-9878096a6999 portal_id=3e551b39-227d-4297-b911-e68fd5d77c17 principal_id=a3d2699a-0ed3-4417-bb10-d8e74a1513a4 trace_id=3360194145499877252 user_agent= sig=XQC3OSFxLbi5dy2-o4xAXHT-x8oW5Df-zVsACWQLMU9Q-sPnEyk5CVs4JHwuRcwO0QNLsNaP1wsyrXYPeneXDQ
If you created a new control plane and want to conserve your free trial credits or avoid unnecessary charges, delete the new control plane used in this tutorial.
How many days of Dev Portal audit logs can I recover?
Konnect only collects audit logs from the past seven days, so you can only recover up to seven days of logs from the current date.