Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions proto/logsstateful/stateful_encoding.proto
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,16 @@ message Log {
message StructuredLog {
uint64 pattern_id = 1;
repeated DynamicValue dynamic_values = 2;

// JSON structured log fields. Example:
// Input log: {"msg":"Evicted 1 tags","agent":"core","time":"2026-03-31","level":"INFO"}
// Converts to:
// json_context {"agent":"core","level":"INFO","time":"2026-03-31"}
// json_message_key "msg"
// pattern_id 123 (points to "Evicted {} tags")
// dynamic_values [1]
bytes json_context = 3;
DynamicValue json_message_key = 4;
}

message DynamicValue {
Expand Down
Loading
Loading