Skip to content

Commit

Permalink
[filtermod] LEEF correct format string for SOURCE:: (#647)
Browse files Browse the repository at this point in the history
* [filtermod] LEEF correct format string for SOURCE::

* Update lp-log_extended_event_format.conf.tmpl
  • Loading branch information
Ryan Faircloth authored and GitHub committed Aug 21, 2020
1 parent 69db811 commit fb4c24d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ class leef_kv(object):
log_message['.splunk.sourcetype'] = f"LEEF:{lv}"
else:
log_message['.splunk.sourcetype'] = f"LEEF:{lv}:{hex_sep}"
log_message['.splunk.source'] = f"{structure[2]}:{structure[3]}"
log_message['fields.sc4s_vendor_product'] = f"{structure[2]}:{structure[3]}"
log_message['.splunk.source'] = f"{structure[1]}:{structure[2]}"
log_message['fields.sc4s_vendor_product'] = f"{structure[1]}:{structure[2]}"

pairs = event.split(separator)
for p in pairs:
Expand Down

0 comments on commit fb4c24d

Please sign in to comment.