Skip to content

Commit

Permalink
add G_59548_2022 audit format
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewstalin committed Dec 4, 2024
1 parent 0f2caad commit b5085f8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ydb/core/protos/config.proto
Original file line number Diff line number Diff line change
Expand Up @@ -1485,6 +1485,7 @@ message TAuditConfig {
JSON = 1; // Outputs audit log in format: "<time>: {"k1": "v1", "k2": "v2", ...}" where <time> is ISO 8601 format time string, k1, k2, ..., kn - fields of audit log message and v1, v2, ..., vn are their values
TXT = 2; // Outputs audit log in format: "<time>: k1=v1, k2=v2, ..." where <time> is ISO 8601 format time string, k1, k2, ..., kn - fields of audit log message and v1, v2, ..., vn are their values
JSON_LOG_COMPATIBLE = 3; // Outputs audit log in format: "{"@timestamp": "<ISO 8601 time>", "@log_type": "audit", "k1": "v1", "k2": "v2", ...}" where @timestamp is ISO 8601 format time string, k1, k2, ..., kn - fields of audit log message and v1, v2, ..., vn are their values // Suitable for output both debug log and audit log to the same destination (stderr)
G_59548_2022 = 4; // Reserved
}

message TStderrBackend {
Expand Down

0 comments on commit b5085f8

Please sign in to comment.