Skip to content

Commit

Permalink
Merge pull request #18 from splunk/rfaircloth-splunk-patch-1
Browse files Browse the repository at this point in the history
feat(meta): Add meta sourcetype
  • Loading branch information
Ryan Faircloth authored Mar 11, 2021
2 parents 2c18e38 + c61c03e commit 48632a6
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
15 changes: 14 additions & 1 deletion package/default/props.conf
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,17 @@ ANNOTATE_PUNCT = false

DATETIME_CONFIG=CURRENT

REPORT-fields = ta_sc4snmp_trap
REPORT-fields = ta_sc4snmp_kv

[sc4snmp:meta]
pulldown_type = 0
NO_BINARY_CHECK = 1
SHOULD_LINEMERGE = false
KV_MODE = NONE
LEARN_SOURCETYPE = false
LEARN_MODEL = false
ANNOTATE_PUNCT = false

DATETIME_CONFIG=CURRENT

REPORT-fields = ta_sc4snmp_kv
2 changes: 1 addition & 1 deletion package/default/transforms.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
## SPDX-License-Identifier: LicenseRef-Splunk-1-2020
##
##
[ta_sc4snmp_trap]
[ta_sc4snmp_kv]
REGEX = (?:^| )(?<_KEY_1>[^=]*)=(?! )(?<_VAL_1>.+?)(?=(?: [^ ]*(?<!\\)=|$))

0 comments on commit 48632a6

Please sign in to comment.