0Pricing
System Observability: Logging, Metrics & Tracing (ELK + OpenTelemetry) · レッスン

監査ログとコンプライアンス

監査ログと運用ログの違い、信頼できる監査証跡の条件、オブザーバビリティがコンプライアンス要件を支援する方法を学びます。

「監査ログとコンプライアンス」はCoddyKit上の無料System Observability: Logging, Metrics & Tracing (ELK + OpenTelemetry)レッスンです。 これはレッスン4/4です。 下記で完全なレッスンを無料で読むことができます。その後、ブラウザ内の組み込みコードエディタと24時間対応のAIチューターでハンズオン演習できます。 これはSystem Observability: Logging, Metrics & Tracing (ELK + OpenTelemetry)学習パスの一部であり、ウェブとCoddyKitアプリ全体で進捗が同期されます。 System Observability: Logging, Metrics & Tracing (ELK + OpenTelemetry)コースには全4レッスンが含まれています。

このレッスンの一部はまだ翻訳されておらず、英語で表示されています。

What Is an Audit Log?

An audit log records who did what, when, and to which resource. Unlike debug logs, it exists to answer accountability and compliance questions.

Audit vs Operational Logs

Operational logs help engineers debug; audit logs prove what happened for security and regulators.

  • Operational: verbose, short-lived
  • Audit: structured, long-retained, tamper-evident

The Five Ws

Every audit event should capture the essentials clearly.

{
  "who": "user:alice",
  "action": "delete",
  "resource": "invoice/8821",
  "when": "2026-05-29T10:14:02Z",
  "outcome": "success"
}

Immutability

Audit logs must be tamper-evident. Write them to append-only storage so records cannot be silently altered or deleted.

Separation of Duties

Those who can act on a system should not be able to edit its audit log. Store audit data in a separate, restricted store.

Retention Requirements

Compliance frameworks dictate how long audit logs must be kept, often years. Lifecycle policies must respect these minimums, not just cost.

  • PCI DSS, SOC 2, GDPR set retention rules

Sensitive Data Handling

Audit logs must avoid storing secrets or excessive personal data. Record identifiers and actions, not passwords or full payloads.

log: user_id, action  // yes
log: password, full PII // no

Integrity Verification

Hashing or signing log batches lets you prove later that records were not modified, strengthening the audit trail.

entry_hash = sha256(prev_hash + entry)

Centralizing Audit Logs

Ship audit events to a dedicated index with strict access controls, separate from noisy operational logs, so queries and reviews stay clean.

Alerting on Audit Events

Observability adds value by alerting on suspicious audit patterns, like privilege escalations or mass deletions, in real time.

alert: action=delete AND count > 100 in 1m

Audit and Compliance Together

A complete program defines what to audit, secures and retains the records, verifies integrity, and reviews them regularly to satisfy auditors.

Quick Check

Pick the property essential to audit logs.

Recap

You learned that audit logs record who did what to which resource and when, that they must be tamper-evident, access-controlled, and retained per compliance rules, and that they should exclude secrets. Integrity verification and real-time alerting on suspicious events let observability strengthen security and compliance.

よくある質問

「監査ログとコンプライアンス」レッスンは無料ですか?

はい。「監査ログとコンプライアンス」の完全なテキストはこのウェブで無料で読めます。インタラクティブに演習し(組み込みコードエディタと24時間対応のAIチューター)、System Observability: Logging, Metrics & Tracing (ELK + OpenTelemetry)コースの残りをアンロックするには、CoddyKit PROにアップグレードしてください。 System Observability: Logging, Metrics & Tracing (ELK + OpenTelemetry)コースには全4レッスンが含まれています。

「監査ログとコンプライアンス」で何を学びますか?

監査ログと運用ログの違い、信頼できる監査証跡の条件、オブザーバビリティがコンプライアンス要件を支援する方法を学びます。 ブラウザで直接実行するハンズオンコードでSystem Observability: Logging, Metrics & Tracing (ELK + OpenTelemetry)を演習し、24時間対応のAIチューターがレッスンを進める中での質問に答えます。

System Observability: Logging, Metrics & Tracing (ELK + OpenTelemetry)を始めるのに経験は必要ですか?

事前経験は必要ありません。CoddyKitのSystem Observability: Logging, Metrics & Tracing (ELK + OpenTelemetry)は初級者から上級者向けに構成されているため、ここから始めるか最初から始めて、自分のペースで進むことができます。 これはレッスン4/4です。

「監査ログとコンプライアンス」レッスンにはどのくらい時間がかかりますか?

ほとんどのCoddyKitレッスンは約5~10分かかります。各レッスンはコンパクトでインタラクティブなので、着実に進歩し、ウェブとアプリ全体で正確に前回の場所から再開できます。

このSystem Observability: Logging, Metrics & Tracing (ELK + OpenTelemetry)レッスンでコードを書いて実行できますか?

はい。すべてのSystem Observability: Logging, Metrics & Tracing (ELK + OpenTelemetry)レッスンに組み込みコードエディタが含まれているため、ブラウザでリアルコードを書いて実行し、即座のAIフィードバックを取得できます。ローカル設定は不要です。

このコースのすべてのレッスン

  1. セキュリティにおける可観測性の活用
  2. パフォーマンスのモニタリングとチューニング
  3. 可観測性のコスト最適化
  4. 監査ログとコンプライアンス
← System Observability: Logging, Metrics & Tracing (ELK + OpenTelemetry)に戻る