-
Notifications
You must be signed in to change notification settings - Fork 60
Open
Description
Was there a reason the UDP input for syslog doesn't store the sender's IP address?
it seems like we don't do anything with it but it could be added to the output record?
79 let (length, _src) = match socket.recv_from(&mut buf) {
80 Ok(res) => res,
81 Err(_) => continue,
82 }; 70 #[derive(Debug)]
71 pub struct Record {
72 pub ts: f64,
73 pub hostname: String,
74 pub facility: Option<u8>,
75 pub severity: Option<u8>,
76 pub appname: Option<String>,
77 pub procid: Option<String>,
78 pub msgid: Option<String>,
79 pub msg: Option<String>,
80 pub full_msg: Option<String>,
81 pub sd: Option<Vec<StructuredData>>,
82 }Metadata
Metadata
Assignees
Labels
No labels