Skip to content

Commit 48632a6

Browse files
author
Ryan Faircloth
authored
Merge pull request #18 from splunk/rfaircloth-splunk-patch-1
feat(meta): Add meta sourcetype
2 parents 2c18e38 + c61c03e commit 48632a6

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed

package/default/props.conf

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,17 @@ ANNOTATE_PUNCT = false
1414

1515
DATETIME_CONFIG=CURRENT
1616

17-
REPORT-fields = ta_sc4snmp_trap
17+
REPORT-fields = ta_sc4snmp_kv
18+
19+
[sc4snmp:meta]
20+
pulldown_type = 0
21+
NO_BINARY_CHECK = 1
22+
SHOULD_LINEMERGE = false
23+
KV_MODE = NONE
24+
LEARN_SOURCETYPE = false
25+
LEARN_MODEL = false
26+
ANNOTATE_PUNCT = false
27+
28+
DATETIME_CONFIG=CURRENT
29+
30+
REPORT-fields = ta_sc4snmp_kv

package/default/transforms.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
## SPDX-License-Identifier: LicenseRef-Splunk-1-2020
44
##
55
##
6-
[ta_sc4snmp_trap]
6+
[ta_sc4snmp_kv]
77
REGEX = (?:^| )(?<_KEY_1>[^=]*)=(?! )(?<_VAL_1>.+?)(?=(?: [^ ]*(?<!\\)=|$))

0 commit comments

Comments
 (0)