Skip to content

Add support for file-based decision logger #2605

Open
@tsandall

Description

@tsandall

OPA currently supports 3 options for decision logging:

  • HTTP-based batched uploads of decision logs via the Decision Log API
  • Console-based streaming decision logs
  • Plugin/hook-based handling of decision logs (handles recompile)

OPA does not currently support a file-based decision logger that writes decision logs to disk. In theory, OPA could be extended with another option that allows decision logs to written to a file. The logger should support rotation by allowing users to configure how often (based on file size, # of decision log records, or time) the files are rotated.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions