コンテンツにスキップ
Kong Logo | Kong Docs Logo
  • ドキュメント
    • API仕様を確認する
      View all API Specs すべてのAPI仕様を表示 View all API Specs arrow image
    • ドキュメンテーション
      API Specs
      Kong Gateway
      軽量、高速、柔軟なクラウドネイティブAPIゲートウェイ
      Kong Konnect
      SaaSのエンドツーエンド接続のための単一プラットフォーム
      Kong AI Gateway
      GenAI インフラストラクチャ向けマルチ LLM AI Gateway
      Kong Mesh
      Kuma と Envoy をベースにしたエンタープライズサービスメッシュ
      decK
      Kongの構成を宣言型で管理する上で役立ちます
      Kong Ingress Controller
      Kubernetesクラスタ内で動作し、Kongをプロキシトラフィックに設定する
      Kong Gateway Operator
      YAMLマニフェストを使用してKubernetes上のKongデプロイメントを管理する
      Insomnia
      コラボレーティブAPI開発プラットフォーム
  • Plugin Hub
    • Plugin Hubを探索する
      View all plugins すべてのプラグインを表示 View all plugins arrow image
    • 機能性 すべて表示 View all arrow image
      すべてのプラグインを表示
      AI's icon
      AI
      マルチ LLM AI Gatewayプラグインを使用してAIトラフィックを管理、保護、制御する
      認証's icon
      認証
      認証レイヤーでサービスを保護する
      セキュリティ's icon
      セキュリティ
      追加のセキュリティレイヤーでサービスを保護する
      トラフィック制御's icon
      トラフィック制御
      インバウンドおよびアウトバウンドAPIトラフィックの管理、スロットル、制限
      サーバーレス's icon
      サーバーレス
      他のプラグインと組み合わせてサーバーレス関数を呼び出します
      分析と監視's icon
      分析と監視
      APIとマイクロサービストラフィックを視覚化、検査、監視
      変革's icon
      変革
      Kongでリクエストとレスポンスをその場で変換
      ログ記録's icon
      ログ記録
      インフラストラクチャに最適なトランスポートを使用して、リクエストと応答データをログに記録します
  • サポート
  • コミュニティ
  • Kongアカデミー
デモを見る 無料トライアルを開始
  • Home icon
  • Konnect Dev Portal
  • Portals
  • Audit Logs
  • Set up an audit log replay job
report-issue問題を報告する
  • Kong Gateway
  • Kong Konnect
  • Kong Mesh
  • Kong AI Gateway
  • Plugin Hub
  • decK
  • Kong Ingress Controller
  • Kong Gateway Operator
  • Insomnia
  • Kuma

  • ドキュメント投稿ガイドライン
  • Portals
    • Overview
    • Customization
      • Customization
      • Pages
      • Snippets
      • Appearance
      • Portal Editor
    • Publishing APIs
    • Settings
      • General
      • Custom Domains
      • Security
      • Team Mapping
    • Audit Logs
  • APIs
    • Overview
    • Versioning
    • Documentation
    • Link Gateway Service
  • Access and Approvals
    • Overview
    • Developer Signup
    • Configuring SSO
    • Portal Teams
  • Application Registration
    • Overview
    • Auth Strategies
      • Key Auth
      • OIDC
        • Overview
        • DCR
          • Overview
enterprise-switcher-icon 次に切り替える: OSS
On this pageOn this page
  • Prerequisites
  • Configure a replay job
  • View replay job
  • Replay job status
  • More information

このページは、まだ日本語ではご利用いただけません。翻訳中です。

Set up an audit log replay job

You can use the Audit Logs API to configure replay jobs for audit logging.

Replay jobs are useful when you have missed audit log entries due to an error or a misconfigured audit log webhook. You may have one replay job at a time per region, and request data from up to one week ago. A replay job in a region will resend data for the requested timeframe to the webhook configured for that region.

Prerequisites

  • Org Admin permissions
  • Your audit log webhook must be enabled and ready to receive data.

Configure a replay job

Konnect UI
API
  1. In dev-portal icon Dev Portal, click the Dev Portal you want to configure a replay job for.

    You can alternatively configure a replay job by navigating to Organization > Audit Logs Setup. Under the Dev Portal tab, click the Dev Portal you want to configure the replay job for.

  2. Click Settings in the sidebar, and then click the Audit Logs tab.
  3. Click the Replay tab.
  4. Choose a timeframe for which you want to replay the logs.

    You can choose one of the preset relative increments for up to 24 hours, or set a custom timeframe for up to 7 days.

  5. Apply the timeframe, then click Send Replay.

Configure the replay job for a region by sending a PUT request to the /audit-log-replay-job endpoint:

curl -i -X PUT https://{region}.api.konghq.com/v2/portals/{portalId}/audit-log-replay-job \
    --header "Content-Type: application/json" \
    --header "Authorization: Bearer <personal-access-token>" \
    --data '{
        "start_at": "2023-03-27T20:00:00Z",
        "end_at": "2023-03-27T20:00:00Z"
    }'

Be sure to replace the following placeholder values:

  • {region}.api.konghq.com: The region your portal is located in. Can be us, ap, or eu.
  • {portalId}: The ID of the Dev Portal with your webhook.
  • <personal-access-token>: Your Konnect personal access token (PAT).
  • start_at and end_at: Specify the timeframe for which you want to receive audit log events. start_at must be no more than seven days ago.

If the request is successful, you will receive a 202 response code and a response body containing the replay job details.

View replay job

Konnect UI
API
  1. In dev-portal icon Dev Portal, click the Dev Portal you want to view the replay job for.

    You can alternatively view a replay job by navigating to Organization > Audit Logs Setup. Under the Dev Portal tab, click the Dev Portal you want to view the replay job for.

  2. Click Settings in the sidebar, then click the Audit Logs tab.
  3. Click the Replay tab.
  4. Check the status table below the configuration field.

You can view the audit log replay job in a given region by issuing a GET request to the audit-log-replay-job endpoint:

curl -i -X GET https://{region}.api.konghq.com/v2/portals/{portalId}/audit-log-replay-job \
    --header "Authorization: Bearer <personal-access-token>"

Be sure to replace the following placeholder values:

  • {region}.api.konghq.com: The region your portal is located in. Can be us, ap, or eu.
  • {portalId}: The ID of the Dev Portal with your webhook.
  • <personal-access-token>: Your Konnect personal access token (PAT).

You will receive a 200 response code and the job details.

Replay job status

A replay job can be in one of the following statuses:

Status Description
unconfigured Initial state. The job has not been set up.
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.

More information

  • Audit logging in Konnect
  • Set up an audit log webhook
  • Audit log event reference
  • Verify audit log signatures
  • Audit Logs API
Thank you for your feedback.
Was this page useful?
情報が多すぎる場合 close cta icon
Kong Konnectを使用すると、より多くの機能とより少ないインフラストラクチャを実現できます。月額1Mリクエストが無料。
無料でお試しください
  • Kong
    APIの世界を動かす

    APIマネジメント、サービスメッシュ、イングレスコントローラーの統合プラットフォームにより、開発者の生産性、セキュリティ、パフォーマンスを大幅に向上します。

    • 製品
      • Kong Konnect
      • Kong Gateway Enterprise
      • Kong Gateway
      • Kong Mesh
      • Kong Ingress Controller
      • Kong Insomnia
      • 製品アップデート
      • 始める
    • ドキュメンテーション
      • Kong Konnectドキュメント
      • Kong Gatewayドキュメント
      • Kong Meshドキュメント
      • Kong Insomniaドキュメント
      • Kong Konnect Plugin Hub
    • オープンソース
      • Kong Gateway
      • Kuma
      • Insomnia
      • Kongコミュニティ
    • 会社概要
      • Kongについて
      • お客様
      • キャリア
      • プレス
      • イベント
      • お問い合わせ
  • 利用規約• プライバシー• 信頼とコンプライアンス
© Kong Inc. 2025