From 5dff0ed37a89e8cfc9db3ca499454dfe8198eadf Mon Sep 17 00:00:00 2001 From: Stephen Wakely Date: Fri, 21 Apr 2023 10:15:30 +0100 Subject: [PATCH] chore(syslog source): remove the remove of source_ip (#17184) Remove the remove of source_ip Signed-off-by: Stephen Wakely --- src/sources/syslog.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/sources/syslog.rs b/src/sources/syslog.rs index 7d70d94df8937..d53626a4650ab 100644 --- a/src/sources/syslog.rs +++ b/src/sources/syslog.rs @@ -1358,7 +1358,6 @@ mod test { fn from(e: Event) -> Self { let (value, _) = e.into_log().into_parts(); let mut fields = value.into_object().unwrap(); - fields.remove("source_ip"); Self { msgid: fields.remove("msgid").map(value_to_string).unwrap(),