Skip to content

Commit

Permalink
chore(syslog source): remove the remove of source_ip (vectordotdev#17184
Browse files Browse the repository at this point in the history
)

Remove the remove of source_ip

Signed-off-by: Stephen Wakely <[email protected]>
  • Loading branch information
StephenWakely authored Apr 21, 2023
1 parent a2882f3 commit 5dff0ed
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/sources/syslog.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down

0 comments on commit 5dff0ed

Please sign in to comment.