mirror of
https://github.com/domainaware/parsedmarc.git
synced 2026-06-25 03:24:18 +00:00
Fix Splunk sourcetype to use colon separator (dmarc:failure) matching original convention
Co-authored-by: seanthegeek <44679+seanthegeek@users.noreply.github.com>
This commit is contained in:
committed by
Sean Whalen
parent
23f2cb99c3
commit
851ac3b6f2
@@ -155,7 +155,7 @@ class HECClient(object):
|
||||
json_str = ""
|
||||
for report in failure_reports:
|
||||
data = self._common_data.copy()
|
||||
data["sourcetype"] = "dmarc_failure"
|
||||
data["sourcetype"] = "dmarc:failure"
|
||||
timestamp = human_timestamp_to_unix_timestamp(report["arrival_date_utc"])
|
||||
data["time"] = timestamp
|
||||
data["event"] = report.copy()
|
||||
|
||||
Reference in New Issue
Block a user