Skip to content

Commit 637f33c

Browse files
author
Devdutt Shenoi
committed
fix: untag custom log sources
1 parent 7ff8ed2 commit 637f33c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/event/format/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,8 @@ pub enum LogSource {
6363
#[default]
6464
// Json object or array
6565
Json,
66+
// Custom Log Sources e.g. "syslog"
67+
#[serde(untagged)]
6668
Custom(String),
6769
}
6870

0 commit comments

Comments
 (0)