We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a37d368 commit 199c4d4Copy full SHA for 199c4d4
src/event/format/known_schema.rs
@@ -54,7 +54,7 @@ where
54
#[derive(Debug, Default, Deserialize)]
55
struct Pattern {
56
/// Regular expression pattern used to match and capture fields from log strings
57
- #[serde(deserialize_with = "deserialize_regex")]
+ #[serde(deserialize_with = "deserialize_regex", default)]
58
pattern: Option<Regex>,
59
// Maps field names to regex capture groups
60
fields: HashSet<String>,
0 commit comments