fixed eventsID sum up process with metrics option #729

This commit is contained in:
DastInDark
2022-10-08 09:36:18 +09:00
parent 72672ff2bd
commit 04d962ca3f

View File

@@ -96,7 +96,7 @@ impl EventMetrics {
if let Some(idnum) = utils::get_event_value("EventID", &record.record) {
let count: &mut usize = self
.stats_list
.entry((idnum.to_string(), channel))
.entry((idnum.to_string().replace('\"', ""), channel))
.or_insert(0);
*count += 1;
};