logstash-codec-cef 6.1.0-java → 6.2.2-java

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f024e49f3c40ff1526dc67e6e50f66c5329f8505d7ac7a5b621f1326822c41c8
4
- data.tar.gz: 29c37fd535ca29270b48949109fca7b30bd4e7a507476aebb3a642ab58b49c10
3
+ metadata.gz: d6769d2631f2bd27a0e5d4efebcdf5522eb2e1e843fef3d195ca804d4e68e1cb
4
+ data.tar.gz: 97a5acd21e5041dbb91129819ed13b4989f269acaccbc134a26be5c6a83535e6
5
5
  SHA512:
6
- metadata.gz: 91915d5f8c8ec3d82ce4490dfd8d549da7b557898be57ca45f2ab63686fbcb89247a3d9a2b0d8b08775ada27fc53de02fd57aa0489b143ea0c6525947ae90896
7
- data.tar.gz: 90f6b8fc94003f8ab4e4d5087dd131143ccc34df564906b51fb713b9c83be451361091d92848fbbb6039ef0f28ade01173e7a9af4ecd1f4eb1c159136efd35d0
6
+ metadata.gz: 7a1021a17d1c87f07bf61f5583acda25f69e69c7946191056d93f0c8c0e9f1ad3aea6489b14fb78754c92507114d588ba36513d7ba9d39e861550d02aeaa7cab
7
+ data.tar.gz: ff9ce9b27c9c4ae1cc5440cecd9e6113989507e030bf609683de344645536eb1a713149e70da2f87638dd553e493145c750f54e5e560d5b938829b8d0b6404e8
data/CHANGELOG.md CHANGED
@@ -1,4 +1,21 @@
1
+ ## 6.2.2
2
+ - Fixed invalid Field Reference that could occur when ECS mode was enabled and the CEF field `fileHash` was parsed.
3
+ - Added expanded mapping for numbered `deviceCustom*` and `deviceCustom*Label` fields so that all now include numbers 1 through 15.
4
+
5
+ ## 6.2.1
6
+ - Added field mapping to docs.
7
+ - Fixed ECS mapping of `deviceMacAddress` field.
8
+
9
+ ## 6.2.0
10
+ - Introduce ECS Compatibility mode [#83](https://github.com/logstash-plugins/logstash-codec-cef/pull/83).
11
+
12
+ ## 6.1.2
13
+ - Added error log with full payload when something bad happens in decoding a message[#84](https://github.com/logstash-plugins/logstash-codec-cef/pull/84)
14
+
1
15
  ## 6.1.1
16
+ - Improved encoding performance, especially when encoding many extension fields [#81](https://github.com/logstash-plugins/logstash-codec-cef/pull/81)
17
+
18
+ ## 6.1.0
2
19
  - Fixed CEF short to long name translation for ahost/agentHostName field, according to documentation [#75](https://github.com/logstash-plugins/logstash-codec-cef/pull/75)
3
20
 
4
21
  ## 6.0.1
data/LICENSE CHANGED
@@ -1,13 +1,202 @@
1
- Copyright (c) 2012-2018 Elasticsearch <http://www.elastic.co>
2
1
 
3
- Licensed under the Apache License, Version 2.0 (the "License");
4
- you may not use this file except in compliance with the License.
5
- You may obtain a copy of the License at
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
6
5
 
7
- http://www.apache.org/licenses/LICENSE-2.0
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
8
7
 
9
- Unless required by applicable law or agreed to in writing, software
10
- distributed under the License is distributed on an "AS IS" BASIS,
11
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- See the License for the specific language governing permissions and
13
- limitations under the License.
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright 2020 Elastic and contributors
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Logstash Plugin
2
2
 
3
- [![Travis Build Status](https://travis-ci.org/logstash-plugins/logstash-codec-cef.svg)](https://travis-ci.org/logstash-plugins/logstash-codec-cef)
3
+ [![Travis Build Status](https://travis-ci.com/logstash-plugins/logstash-codec-cef.svg)](https://travis-ci.com/logstash-plugins/logstash-codec-cef)
4
4
 
5
5
  This is a plugin for [Logstash](https://github.com/elastic/logstash).
6
6
 
data/docs/index.asciidoc CHANGED
@@ -27,14 +27,385 @@ https://community.saas.hpe.com/dcvta86296/attachments/dcvta86296/connector-docum
27
27
  If this codec receives a payload from an input that is not a valid CEF message, then it will
28
28
  produce an event with the payload as the 'message' field and a '_cefparsefailure' tag.
29
29
 
30
+ ==== Compatibility with the Elastic Common Schema (ECS)
31
+
32
+ This plugin can be used to decode CEF events _into_ the Elastic Common Schema, or to encode ECS-compatible events into CEF.
33
+ It can also be used _without_ ECS, encoding and decoding events using only CEF-defined field names and keys.
34
+
35
+ The ECS Compatibility mode for a specific plugin instance can be controlled by setting <<plugins-{type}s-{plugin}-ecs_compatibility>> when defining the codec:
36
+
37
+ [source,sh]
38
+ -----
39
+ input {
40
+ tcp {
41
+ # ...
42
+ codec => cef {
43
+ ecs_compatibility => v1
44
+ }
45
+ }
46
+ }
47
+ -----
48
+
49
+ If left unspecified, the value of the `pipeline.ecs_compatibility` setting is used.
50
+
51
+ ===== Timestamps and ECS compatiblity
52
+
53
+ When decoding in ECS Compatibility Mode, timestamp-type fields are parsed and normalized
54
+ to specific points on the timeline.
55
+
56
+ Because the CEF format allows ambiguous timestamp formats, some reasonable assumptions are made:
57
+
58
+ - When the timestamp does not include a year, we assume it happened in the recent past
59
+ (or _very_ near future to accommodate out-of-sync clocks and timezone offsets).
60
+ - When the timestamp does not include UTC-offset information, we use the event's
61
+ timezone (`dtz` or `deviceTimeZone` field), or fall through to this plugin's
62
+ <<plugins-{type}s-{plugin}-default_timezone>>.
63
+ - Localized timestamps are parsed using the provided <<plugins-{type}s-{plugin}-locale>>.
64
+
65
+ [id="plugins-{type}s-{plugin}-field-mapping"]
66
+ ===== Field mapping
67
+
68
+ The header fields from each CEF payload is expanded to the following fields, depending on whether ECS is enabled.
69
+
70
+ [id="plugins-{type}s-{plugin}-header-field"]
71
+ ====== Header field mapping
72
+ |=====
73
+ |ECS Disabled | ECS Field
74
+
75
+ |`cefVersion` |`[cef][version]`
76
+ |`deviceVendor` |`[observer][vendor]`
77
+ |`deviceProduct` |`[observer][product]`
78
+ |`deviceVersion` |`[observer][version]`
79
+ |`deviceEventClassId`|`[event][code]`
80
+ |`name` |`[cef][name]`
81
+ |`severity` |`[event][severity]`
82
+ |=====
83
+
84
+ When decoding CEF payloads with `ecs_compatibility => disabled`, the abbreviated CEF Keys found in extensions are expanded, and CEF Field Names are inserted at the root level of the event.
85
+
86
+ When decoding in an ECS Compatibility mode, the ECS Fields are populated from the corresponding CEF Field Names _or_ CEF Keys found in the payload's extensions.
87
+
88
+ The following is a mapping between these fields.
89
+
90
+ // Templates for short-hand notes in the table below
91
+ :cef-ambiguous-higher: pass:quotes[Multiple possible CEF fields map to this ECS Field. When decoding, the last entry encountered wins. When encoding, this field has _higher_ priority.]
92
+ :cef-ambiguous-lower: pass:quotes[Multiple possible CEF fields map to this ECS Field. When decoding, the last entry encountered wins. When encoding, this field has _lower_ priority.]
93
+ :cef-normalize-timestamp: pass:quotes[This field contains a timestamp. In ECS Compatibility Mode, it is parsed to a specific point in time.]
94
+ :cef-plugin-config-condition: pass:quotes[When plugin configured with]
95
+
96
+
97
+ [id="plugins-{type}s-{plugin}-ext-field"]
98
+ ====== Extension field mapping
99
+ |=======================================================================================================================
100
+ |CEF Field Name (optional CEF Key) |ECS Field
101
+
102
+ |`agentAddress` (`agt`) |`[agent][ip]`
103
+ |`agentDnsDomain` |`[cef][agent][registered_domain]`
104
+
105
+ {cef-ambiguous-higher}
106
+ |`agentHostName` (`ahost`) |`[agent][name]`
107
+ |`agentId` (`aid`) |`[agent][id]`
108
+ |`agentMacAddress` (`amac`) |`[agent][mac]`
109
+ |`agentNtDomain` |`[cef][agent][registered_domain]`
110
+
111
+ {cef-ambiguous-lower}
112
+ |`agentReceiptTime` (`art`) |`[event][created]`
113
+
114
+ {cef-normalize-timestamp}
115
+ |`agentTimeZone` (`atz`) |`[cef][agent][timezone]`
116
+ |`agentTranslatedAddress` |`[cef][agent][nat][ip]`
117
+ |`agentTranslatedZoneExternalID` |`[cef][agent][translated_zone][external_id]`
118
+ |`agentTranslatedZoneURI` |`[cef][agent][translated_zone][uri]`
119
+ |`agentType` (`at`) |`[agent][type]`
120
+ |`agentVersion` (`av`) |`[agent][version]`
121
+ |`agentZoneExternalID` |`[cef][agent][zone][external_id]`
122
+ |`agentZoneURI` |`[cef][agent][zone][uri]`
123
+ |`applicationProtocol` (`app`) |`[network][protocol]`
124
+ |`baseEventCount` (`cnt`) |`[cef][base_event_count]`
125
+ |`bytesIn` (`in`) |`[source][bytes]`
126
+ |`bytesOut` (`out`) |`[destination][bytes]`
127
+ |`categoryDeviceType` (`catdt`) |`[cef][device_type]`
128
+ |`customerExternalID` |`[organization][id]`
129
+ |`customerURI` |`[organization][name]`
130
+ |`destinationAddress` (`dst`) |`[destination][ip]`
131
+ |`destinationDnsDomain` |`[destination][registered_domain]`
132
+
133
+ {cef-ambiguous-higher}
134
+ |`destinationGeoLatitude` (`dlat`) |`[destination][geo][location][lat]`
135
+ |`destinationGeoLongitude` (`dlong`) |`[destination][geo][location][lon]`
136
+ |`destinationHostName` (`dhost`) |`[destination][domain]`
137
+ |`destinationMacAddress` (`dmac`) |`[destination][mac]`
138
+ |`destinationNtDomain` (`dntdom`) |`[destination][registered_domain]`
139
+
140
+ {cef-ambiguous-lower}
141
+ |`destinationPort` (`dpt`) |`[destination][port]`
142
+ |`destinationProcessId` (`dpid`) |`[destination][process][pid]`
143
+ |`destinationProcessName` (`dproc`) |`[destination][process][name]`
144
+ |`destinationServiceName` |`[destination][service][name]`
145
+ |`destinationTranslatedAddress` |`[destination][nat][ip]`
146
+ |`destinationTranslatedPort` |`[destination][nat][port]`
147
+ |`destinationTranslatedZoneExternalID` |`[cef][destination][translated_zone][external_id]`
148
+ |`destinationTranslatedZoneURI` |`[cef][destination][translated_zone][uri]`
149
+ |`destinationUserId` (`duid`) |`[destination][user][id]`
150
+ |`destinationUserName` (`duser`) |`[destination][user][name]`
151
+ |`destinationUserPrivileges` (`dpriv`) |`[destination][user][group][name]`
152
+ |`destinationZoneExternalID` |`[cef][destination][zone][external_id]`
153
+ |`destinationZoneURI` |`[cef][destination][zone][uri]`
154
+ |`deviceAction` (`act`) |`[event][action]`
155
+ .2+|`deviceAddress` (`dvc`) |`[observer][ip]`
156
+
157
+ {cef-plugin-config-condition} `device => observer`
158
+ |`[host][ip]`
159
+
160
+ {cef-plugin-config-condition} `device => host`
161
+ |`deviceCustomFloatingPoint1` (`cfp1`) |`[cef][device_custom_floating_point_1][value]`
162
+ |`deviceCustomFloatingPoint1Label` (`cfp1Label`)|`[cef][device_custom_floating_point_1][label]`
163
+ |`deviceCustomFloatingPoint2` (`cfp2`) |`[cef][device_custom_floating_point_2][value]`
164
+ |`deviceCustomFloatingPoint2Label` (`cfp2Label`)|`[cef][device_custom_floating_point_2][label]`
165
+ |`deviceCustomFloatingPoint3` (`cfp3`) |`[cef][device_custom_floating_point_3][value]`
166
+ |`deviceCustomFloatingPoint3Label` (`cfp3Label`)|`[cef][device_custom_floating_point_3][label]`
167
+ |`deviceCustomFloatingPoint4` (`cfp4`) |`[cef][device_custom_floating_point_4][value]`
168
+ |`deviceCustomFloatingPoint4Label` (`cfp4Label`)|`[cef][device_custom_floating_point_4][label]`
169
+ |`deviceCustomFloatingPoint5` (`cfp5`) |`[cef][device_custom_floating_point_5][value]`
170
+ |`deviceCustomFloatingPoint5Label` (`cfp5Label`)|`[cef][device_custom_floating_point_5][label]`
171
+ |`deviceCustomFloatingPoint6` (`cfp6`) |`[cef][device_custom_floating_point_6][value]`
172
+ |`deviceCustomFloatingPoint6Label` (`cfp6Label`)|`[cef][device_custom_floating_point_6][label]`
173
+ |`deviceCustomFloatingPoint7` (`cfp7`) |`[cef][device_custom_floating_point_7][value]`
174
+ |`deviceCustomFloatingPoint7Label` (`cfp7Label`)|`[cef][device_custom_floating_point_7][label]`
175
+ |`deviceCustomFloatingPoint8` (`cfp8`) |`[cef][device_custom_floating_point_8][value]`
176
+ |`deviceCustomFloatingPoint8Label` (`cfp8Label`)|`[cef][device_custom_floating_point_8][label]`
177
+ |`deviceCustomFloatingPoint9` (`cfp9`) |`[cef][device_custom_floating_point_9][value]`
178
+ |`deviceCustomFloatingPoint9Label` (`cfp9Label`)|`[cef][device_custom_floating_point_9][label]`
179
+ |`deviceCustomFloatingPoint10` (`cfp10`) |`[cef][device_custom_floating_point_10][value]`
180
+ |`deviceCustomFloatingPoint10Label` (`cfp10Label`)|`[cef][device_custom_floating_point_10][label]`
181
+ |`deviceCustomFloatingPoint11` (`cfp11`) |`[cef][device_custom_floating_point_11][value]`
182
+ |`deviceCustomFloatingPoint11Label` (`cfp11Label`)|`[cef][device_custom_floating_point_11][label]`
183
+ |`deviceCustomFloatingPoint12` (`cfp12`) |`[cef][device_custom_floating_point_12][value]`
184
+ |`deviceCustomFloatingPoint12Label` (`cfp12Label`)|`[cef][device_custom_floating_point_12][label]`
185
+ |`deviceCustomFloatingPoint13` (`cfp13`) |`[cef][device_custom_floating_point_13][value]`
186
+ |`deviceCustomFloatingPoint13Label` (`cfp13Label`)|`[cef][device_custom_floating_point_13][label]`
187
+ |`deviceCustomFloatingPoint14` (`cfp14`) |`[cef][device_custom_floating_point_14][value]`
188
+ |`deviceCustomFloatingPoint14Label` (`cfp14Label`)|`[cef][device_custom_floating_point_14][label]`
189
+ |`deviceCustomFloatingPoint15` (`cfp15`) |`[cef][device_custom_floating_point_15][value]`
190
+ |`deviceCustomFloatingPoint15Label` (`cfp15Label`)|`[cef][device_custom_floating_point_15][label]`
191
+ |`deviceCustomIPv6Address1` (`c6a1`) |`[cef][device_custom_ipv6_address_1][value]`
192
+ |`deviceCustomIPv6Address1Label` (`c6a1Label`) |`[cef][device_custom_ipv6_address_1][label]`
193
+ |`deviceCustomIPv6Address2` (`c6a2`) |`[cef][device_custom_ipv6_address_2][value]`
194
+ |`deviceCustomIPv6Address2Label` (`c6a2Label`) |`[cef][device_custom_ipv6_address_2][label]`
195
+ |`deviceCustomIPv6Address3` (`c6a3`) |`[cef][device_custom_ipv6_address_3][value]`
196
+ |`deviceCustomIPv6Address3Label` (`c6a3Label`) |`[cef][device_custom_ipv6_address_3][label]`
197
+ |`deviceCustomIPv6Address4` (`c6a4`) |`[cef][device_custom_ipv6_address_4][value]`
198
+ |`deviceCustomIPv6Address4Label` (`c6a4Label`) |`[cef][device_custom_ipv6_address_4][label]`
199
+ |`deviceCustomIPv6Address5` (`c6a5`) |`[cef][device_custom_ipv6_address_5][value]`
200
+ |`deviceCustomIPv6Address5Label` (`c6a5Label`) |`[cef][device_custom_ipv6_address_5][label]`
201
+ |`deviceCustomIPv6Address6` (`c6a6`) |`[cef][device_custom_ipv6_address_6][value]`
202
+ |`deviceCustomIPv6Address6Label` (`c6a6Label`) |`[cef][device_custom_ipv6_address_6][label]`
203
+ |`deviceCustomIPv6Address7` (`c6a7`) |`[cef][device_custom_ipv6_address_7][value]`
204
+ |`deviceCustomIPv6Address7Label` (`c6a7Label`) |`[cef][device_custom_ipv6_address_7][label]`
205
+ |`deviceCustomIPv6Address8` (`c6a8`) |`[cef][device_custom_ipv6_address_8][value]`
206
+ |`deviceCustomIPv6Address8Label` (`c6a8Label`) |`[cef][device_custom_ipv6_address_8][label]`
207
+ |`deviceCustomIPv6Address9` (`c6a9`) |`[cef][device_custom_ipv6_address_9][value]`
208
+ |`deviceCustomIPv6Address9Label` (`c6a9Label`) |`[cef][device_custom_ipv6_address_9][label]`
209
+ |`deviceCustomIPv6Address10` (`c6a10`) |`[cef][device_custom_ipv6_address_10][value]`
210
+ |`deviceCustomIPv6Address10Label` (`c6a10Label`)|`[cef][device_custom_ipv6_address_10][label]`
211
+ |`deviceCustomIPv6Address11` (`c6a11`) |`[cef][device_custom_ipv6_address_11][value]`
212
+ |`deviceCustomIPv6Address11Label` (`c6a11Label`)|`[cef][device_custom_ipv6_address_11][label]`
213
+ |`deviceCustomIPv6Address12` (`c6a12`) |`[cef][device_custom_ipv6_address_12][value]`
214
+ |`deviceCustomIPv6Address12Label` (`c6a12Label`)|`[cef][device_custom_ipv6_address_12][label]`
215
+ |`deviceCustomIPv6Address13` (`c6a13`) |`[cef][device_custom_ipv6_address_13][value]`
216
+ |`deviceCustomIPv6Address13Label` (`c6a13Label`)|`[cef][device_custom_ipv6_address_13][label]`
217
+ |`deviceCustomIPv6Address14` (`c6a14`) |`[cef][device_custom_ipv6_address_14][value]`
218
+ |`deviceCustomIPv6Address14Label` (`c6a14Label`)|`[cef][device_custom_ipv6_address_14][label]`
219
+ |`deviceCustomIPv6Address15` (`c6a15`) |`[cef][device_custom_ipv6_address_15][value]`
220
+ |`deviceCustomIPv6Address15Label` (`c6a15Label`)|`[cef][device_custom_ipv6_address_15][label]`
221
+ |`deviceCustomNumber1` (`cn1`) |`[cef][device_custom_number_1][value]`
222
+ |`deviceCustomNumber1Label` (`cn1Label`) |`[cef][device_custom_number_1][label]`
223
+ |`deviceCustomNumber2` (`cn2`) |`[cef][device_custom_number_2][value]`
224
+ |`deviceCustomNumber2Label` (`cn2Label`) |`[cef][device_custom_number_2][label]`
225
+ |`deviceCustomNumber3` (`cn3`) |`[cef][device_custom_number_3][value]`
226
+ |`deviceCustomNumber3Label` (`cn3Label`) |`[cef][device_custom_number_3][label]`
227
+ |`deviceCustomNumber4` (`cn4`) |`[cef][device_custom_number_4][value]`
228
+ |`deviceCustomNumber4Label` (`cn4Label`) |`[cef][device_custom_number_4][label]`
229
+ |`deviceCustomNumber5` (`cn5`) |`[cef][device_custom_number_5][value]`
230
+ |`deviceCustomNumber5Label` (`cn5Label`) |`[cef][device_custom_number_5][label]`
231
+ |`deviceCustomNumber6` (`cn6`) |`[cef][device_custom_number_6][value]`
232
+ |`deviceCustomNumber6Label` (`cn6Label`) |`[cef][device_custom_number_6][label]`
233
+ |`deviceCustomNumber7` (`cn7`) |`[cef][device_custom_number_7][value]`
234
+ |`deviceCustomNumber7Label` (`cn7Label`) |`[cef][device_custom_number_7][label]`
235
+ |`deviceCustomNumber8` (`cn8`) |`[cef][device_custom_number_8][value]`
236
+ |`deviceCustomNumber8Label` (`cn8Label`) |`[cef][device_custom_number_8][label]`
237
+ |`deviceCustomNumber9` (`cn9`) |`[cef][device_custom_number_9][value]`
238
+ |`deviceCustomNumber9Label` (`cn9Label`) |`[cef][device_custom_number_9][label]`
239
+ |`deviceCustomNumber10` (`cn10`) |`[cef][device_custom_number_10][value]`
240
+ |`deviceCustomNumber10Label` (`cn10Label`) |`[cef][device_custom_number_10][label]`
241
+ |`deviceCustomNumber11` (`cn11`) |`[cef][device_custom_number_11][value]`
242
+ |`deviceCustomNumber11Label` (`cn11Label`) |`[cef][device_custom_number_11][label]`
243
+ |`deviceCustomNumber12` (`cn12`) |`[cef][device_custom_number_12][value]`
244
+ |`deviceCustomNumber12Label` (`cn12Label`) |`[cef][device_custom_number_12][label]`
245
+ |`deviceCustomNumber13` (`cn13`) |`[cef][device_custom_number_13][value]`
246
+ |`deviceCustomNumber13Label` (`cn13Label`) |`[cef][device_custom_number_13][label]`
247
+ |`deviceCustomNumber14` (`cn14`) |`[cef][device_custom_number_14][value]`
248
+ |`deviceCustomNumber14Label` (`cn14Label`) |`[cef][device_custom_number_14][label]`
249
+ |`deviceCustomNumber15` (`cn15`) |`[cef][device_custom_number_15][value]`
250
+ |`deviceCustomNumber15Label` (`cn15Label`) |`[cef][device_custom_number_15][label]`
251
+ |`deviceCustomString1` (`cs1`) |`[cef][device_custom_string_1][value]`
252
+ |`deviceCustomString1Label` (`cs1Label`) |`[cef][device_custom_string_1][label]`
253
+ |`deviceCustomString2` (`cs2`) |`[cef][device_custom_string_2][value]`
254
+ |`deviceCustomString2Label` (`cs2Label`) |`[cef][device_custom_string_2][label]`
255
+ |`deviceCustomString3` (`cs3`) |`[cef][device_custom_string_3][value]`
256
+ |`deviceCustomString3Label` (`cs3Label`) |`[cef][device_custom_string_3][label]`
257
+ |`deviceCustomString4` (`cs4`) |`[cef][device_custom_string_4][value]`
258
+ |`deviceCustomString4Label` (`cs4Label`) |`[cef][device_custom_string_4][label]`
259
+ |`deviceCustomString5` (`cs5`) |`[cef][device_custom_string_5][value]`
260
+ |`deviceCustomString5Label` (`cs5Label`) |`[cef][device_custom_string_5][label]`
261
+ |`deviceCustomString6` (`cs6`) |`[cef][device_custom_string_6][value]`
262
+ |`deviceCustomString6Label` (`cs6Label`) |`[cef][device_custom_string_6][label]`
263
+ |`deviceCustomString7` (`cs7`) |`[cef][device_custom_string_7][value]`
264
+ |`deviceCustomString7Label` (`cs7Label`) |`[cef][device_custom_string_7][label]`
265
+ |`deviceCustomString8` (`cs8`) |`[cef][device_custom_string_8][value]`
266
+ |`deviceCustomString8Label` (`cs8Label`) |`[cef][device_custom_string_8][label]`
267
+ |`deviceCustomString9` (`cs9`) |`[cef][device_custom_string_9][value]`
268
+ |`deviceCustomString9Label` (`cs9Label`) |`[cef][device_custom_string_9][label]`
269
+ |`deviceCustomString10` (`cs10`) |`[cef][device_custom_string_10][value]`
270
+ |`deviceCustomString10Label` (`cs10Label`) |`[cef][device_custom_string_10][label]`
271
+ |`deviceCustomString11` (`cs11`) |`[cef][device_custom_string_11][value]`
272
+ |`deviceCustomString11Label` (`cs11Label`) |`[cef][device_custom_string_11][label]`
273
+ |`deviceCustomString12` (`cs12`) |`[cef][device_custom_string_12][value]`
274
+ |`deviceCustomString12Label` (`cs12Label`) |`[cef][device_custom_string_12][label]`
275
+ |`deviceCustomString13` (`cs13`) |`[cef][device_custom_string_13][value]`
276
+ |`deviceCustomString13Label` (`cs13Label`) |`[cef][device_custom_string_13][label]`
277
+ |`deviceCustomString14` (`cs14`) |`[cef][device_custom_string_14][value]`
278
+ |`deviceCustomString14Label` (`cs14Label`) |`[cef][device_custom_string_14][label]`
279
+ |`deviceCustomString15` (`cs15`) |`[cef][device_custom_string_15][value]`
280
+ |`deviceCustomString15Label` (`cs15Label`) |`[cef][device_custom_string_15][label]`
281
+ |`deviceDirection` |`[network][direction]`
282
+ .2+|`deviceDnsDomain` |`[observer][registered_domain]`
283
+
284
+ {cef-plugin-config-condition} `device => observer`.
285
+ |`[host][registered_domain]`
286
+
287
+ {cef-plugin-config-condition} `device => host`.
288
+ |`deviceEventCategory` (`cat`) |`[cef][category]`
289
+ .2+|`deviceExternalId` |`[observer][name]`
290
+
291
+ {cef-plugin-config-condition} `device => observer`.
292
+ |`[host][id]`
293
+
294
+ {cef-plugin-config-condition} `device => host`.
295
+ |`deviceFacility` |`[log][syslog][facility][code]`
296
+ .2+|`deviceHostName` (`dvchost`) |`[observer][hostname]`
297
+
298
+ {cef-plugin-config-condition} `device => observer`.
299
+ |`[host][name]`
300
+
301
+ {cef-plugin-config-condition} `device => host`.
302
+ |`deviceInboundInterface` |`[observer][ingress][interface][name]`
303
+ .2+|`deviceMacAddress` (`dvcmac`) |`[observer][mac]`
304
+
305
+ {cef-plugin-config-condition} `device => observer`.
306
+ |`[host][mac]`
307
+
308
+ {cef-plugin-config-condition} `device => host`.
309
+ |`deviceNtDomain` |`[cef][nt_domain]`
310
+ |`deviceOutboundInterface` |`[observer][egress][interface][name]`
311
+ |`devicePayloadId` |`[cef][payload_id]`
312
+ |`deviceProcessId` (`dvcpid`) |`[process][pid]`
313
+ |`deviceProcessName` |`[process][name]`
314
+ |`deviceReceiptTime` (`rt`) |`@timestamp`
315
+
316
+ {cef-normalize-timestamp}
317
+ |`deviceTimeZone` (`dtz`) |`[event][timezone]`
318
+ |`deviceTranslatedAddress` |`[host][nat][ip]`
319
+ |`deviceTranslatedZoneExternalID` |`[cef][translated_zone][external_id]`
320
+ |`deviceTranslatedZoneURI` |`[cef][translated_zone][uri]`
321
+ |`deviceVersion` |`[observer][version]`
322
+ |`deviceZoneExternalID` |`[cef][zone][external_id]`
323
+ |`deviceZoneURI` |`[cef][zone][uri]`
324
+ |`endTime` (`end`) |`[event][end]`
325
+
326
+ {cef-normalize-timestamp}
327
+ |`eventId` |`[event][id]`
328
+ |`eventOutcome` (`outcome`) |`[event][outcome]`
329
+ |`externalId` |`[cef][external_id]`
330
+ |`fileCreateTime` |`[file][created]`
331
+ |`fileHash` |`[file][hash]`
332
+ |`fileId` |`[file][inode]`
333
+ |`fileModificationTime` |`[file][mtime]`
334
+
335
+ {cef-normalize-timestamp}
336
+ |`fileName` (`fname`) |`[file][name]`
337
+ |`filePath` |`[file][path]`
338
+ |`filePermission` |`[file][group]`
339
+ |`fileSize` (`fsize`) |`[file][size]`
340
+ |`fileType` |`[file][extension]`
341
+ |`managerReceiptTime` (`mrt`) |`[event][ingested]`
342
+
343
+ {cef-normalize-timestamp}
344
+ |`message` (`msg`) |`[message]`
345
+ |`oldFileCreateTime` |`[cef][old_file][created]`
346
+
347
+ {cef-normalize-timestamp}
348
+ |`oldFileHash` |`[cef][old_file][hash]`
349
+ |`oldFileId` |`[cef][old_file][inode]`
350
+ |`oldFileModificationTime` |`[cef][old_file][mtime]`
351
+
352
+ {cef-normalize-timestamp}
353
+ |`oldFileName` |`[cef][old_file][name]`
354
+ |`oldFilePath` |`[cef][old_file][path]`
355
+ |`oldFilePermission` |`[cef][old_file][group]`
356
+ |`oldFileSize` |`[cef][old_file][size]`
357
+ |`oldFileType` |`[cef][old_file][extension]`
358
+ |`rawEvent` |`[event][original]`
359
+ |`Reason` (`reason`) |`[event][reason]`
360
+ |`requestClientApplication` |`[user_agent][original]`
361
+ |`requestContext` |`[http][request][referrer]`
362
+ |`requestCookies` |`[cef][request][cookies]`
363
+ |`requestMethod` |`[http][request][method]`
364
+ |`requestUrl` (`request`) |`[url][original]`
365
+ |`sourceAddress` (`src`) |`[source][ip]`
366
+ |`sourceDnsDomain` |`[source][registered_domain]`
367
+
368
+ {cef-ambiguous-higher}
369
+ |`sourceGeoLatitude` (`slat`) |`[source][geo][location][lat]`
370
+ |`sourceGeoLongitude` (`slong`) |`[source][geo][location][lon]`
371
+ |`sourceHostName` (`shost`) |`[source][domain]`
372
+ |`sourceMacAddress` (`smac`) |`[source][mac]`
373
+ |`sourceNtDomain` (`sntdom`) |`[source][registered_domain]`
374
+
375
+ {cef-ambiguous-lower}
376
+ |`sourcePort` (`spt`) |`[source][port]`
377
+ |`sourceProcessId` (`spid`) |`[source][process][pid]`
378
+ |`sourceProcessName` (`sproc`) |`[source][process][name]`
379
+ |`sourceServiceName` |`[source][service][name]`
380
+ |`sourceTranslatedAddress` |`[source][nat][ip]`
381
+ |`sourceTranslatedPort` |`[source][nat][port]`
382
+ |`sourceTranslatedZoneExternalID` |`[cef][source][translated_zone][external_id]`
383
+ |`sourceTranslatedZoneURI` |`[cef][source][translated_zone][uri]`
384
+ |`sourceUserId` (`suid`) |`[source][user][id]`
385
+ |`sourceUserName` (`suser`) |`[source][user][name]`
386
+ |`sourceUserPrivileges` (`spriv`) |`[source][user][group][name]`
387
+ |`sourceZoneExternalID` |`[cef][source][zone][external_id]`
388
+ |`sourceZoneURI` |`[cef][source][zone][uri]`
389
+ |`startTime` (`start`) |`[event][start]`
390
+
391
+ {cef-normalize-timestamp}
392
+ |`transportProtocol` (`proto`) |`[network][transport]`
393
+ |`type` |`[cef][type]`
394
+ |=======================================================================================================================
395
+
396
+
30
397
  [id="plugins-{type}s-{plugin}-options"]
31
398
  ==== Cef Codec Configuration Options
32
399
 
33
400
  [cols="<,<,<",options="header",]
34
401
  |=======================================================================
35
402
  |Setting |Input type|Required
403
+ | <<plugins-{type}s-{plugin}-default_timezone>> |<<string,string>>|No
36
404
  | <<plugins-{type}s-{plugin}-delimiter>> |<<string,string>>|No
405
+ | <<plugins-{type}s-{plugin}-device>> |<<string,string>>|No
406
+ | <<plugins-{type}s-{plugin}-ecs_compatibility>> |<<string,string>>|No
37
407
  | <<plugins-{type}s-{plugin}-fields>> |<<array,array>>|No
408
+ | <<plugins-{type}s-{plugin}-locale>> |<<string,string>>|No
38
409
  | <<plugins-{type}s-{plugin}-name>> |<<string,string>>|No
39
410
  | <<plugins-{type}s-{plugin}-product>> |<<string,string>>|No
40
411
  | <<plugins-{type}s-{plugin}-reverse_mapping>> |<<boolean,boolean>>|No
@@ -46,6 +417,21 @@ produce an event with the payload as the 'message' field and a '_cefparsefailure
46
417
 
47
418
  &nbsp;
48
419
 
420
+ [id="plugins-{type}s-{plugin}-default_timezone"]
421
+ ===== `default_timezone`
422
+
423
+ * Value type is <<string,string>>
424
+ * Supported values are:
425
+ ** https://en.wikipedia.org/wiki/List_of_tz_database_time_zones[Timezone names] (such as `Europe/Moscow`, `America/Argentina/Buenos_Aires`)
426
+ ** UTC Offsets (such as `-08:00`, `+03:00`)
427
+ * The default value is your system time zone
428
+ * This option has no effect when _encoding_.
429
+
430
+ When parsing timestamp fields in ECS mode and encountering timestamps that
431
+ do not contain UTC-offset information, the `deviceTimeZone` (`dtz`) field
432
+ from the CEF payload is used to interpret the given time. If the event does
433
+ not include timezone information, this `default_timezone` is used instead.
434
+
49
435
  [id="plugins-{type}s-{plugin}-delimiter"]
50
436
  ===== `delimiter`
51
437
 
@@ -69,21 +455,71 @@ This setting allows the following character sequences to have special meaning:
69
455
  * `\\r` (backslash "r") - means carriage return (ASCII 0x0D)
70
456
  * `\\n` (backslash "n") - means newline (ASCII 0x0A)
71
457
 
458
+ [id="plugins-{type}s-{plugin}-device"]
459
+ ===== `device`
460
+
461
+ * Value type is <<string,string>>
462
+ * Supported values are:
463
+ ** `observer`: indicates that device-specific fields represent the device used to _observe_ the event.
464
+ ** `host`: indicates that device-specific fields represent the device on which the event _occurred_.
465
+ * The default value for this setting is `observer`.
466
+ * Option has no effect when <<plugins-{type}s-{plugin}-ecs_compatibility,`ecs_compatibility => disabled`>>.
467
+ * Option has no effect when _encoding_
468
+
469
+ Defines a set of device-specific CEF fields as either representing the device on which an
470
+ event _occurred_, or merely the device from which the event was _observed_.
471
+ This causes the relevant fields to be routed to either the `host` or the `observer`
472
+ top-level groupings.
473
+
474
+ If the codec handles data from a variety of sources, the ECS recommendation is to use `observer`.
475
+
476
+ [id="plugins-{type}s-{plugin}-ecs_compatibility"]
477
+ ===== `ecs_compatibility`
478
+
479
+ * Value type is <<string,string>>
480
+ * Supported values are:
481
+ ** `disabled`: uses CEF-defined field names in the event (e.g., `bytesIn`, `sourceAddress`)
482
+ ** `v1`: supports ECS-compatible event fields (e.g., `[source][bytes]`, `[source][ip]`)
483
+ * Default value depends on which version of Logstash is running:
484
+ ** When Logstash provides a `pipeline.ecs_compatibility` setting, its value is used as the default
485
+ ** Otherwise, the default value is `disabled`.
486
+
487
+ Controls this plugin's compatibility with the
488
+ {ecs-ref}[Elastic Common Schema (ECS)]
489
+ (ECS)].
490
+
72
491
  [id="plugins-{type}s-{plugin}-fields"]
73
492
  ===== `fields`
74
493
 
75
494
  * Value type is <<array,array>>
76
495
  * Default value is `[]`
496
+ * Option has no effect when _decoding_
497
+
498
+ When this codec is used in an Output Plugin, a list of fields can be provided to be included in CEF extensions part as key/value pairs.
499
+
500
+ [id="plugins-{type}s-{plugin}-locale"]
501
+ ===== `locale`
77
502
 
78
- Fields to be included in CEV extension part as key/value pairs
503
+ * Value type is <<string,string>>
504
+ * Supported values are:
505
+ ** Abbreviated language_COUNTRY format (e.g., `en_GB`, `pt_BR`)
506
+ ** Valid https://tools.ietf.org/html/bcp47[IETF BCP 47] language tag (e.g., `zh-cmn-Hans-CN`)
507
+ * The default value is your system locale
508
+ * Option has no effect when _encoding_
509
+
510
+ When parsing timestamp fields in ECS mode and encountering timestamps in
511
+ a localized format, this `locale` is used to interpret locale-specific strings
512
+ such as month abbreviations.
79
513
 
80
514
  [id="plugins-{type}s-{plugin}-name"]
81
515
  ===== `name`
82
516
 
83
517
  * Value type is <<string,string>>
84
518
  * Default value is `"Logstash"`
519
+ * Option has no effect when _decoding_
85
520
 
86
- Name field in CEF header. The new value can include `%{foo}` strings
521
+ When this codec is used in an Output Plugin, this option can be used to specify the
522
+ value of the name field in the CEF header. The new value can include `%{foo}` strings
87
523
  to help you build a new value from other parts of the event.
88
524
 
89
525
  [id="plugins-{type}s-{plugin}-product"]
@@ -91,8 +527,10 @@ to help you build a new value from other parts of the event.
91
527
 
92
528
  * Value type is <<string,string>>
93
529
  * Default value is `"Logstash"`
530
+ * Option has no effect when _decoding_
94
531
 
95
- Device product field in CEF header. The new value can include `%{foo}` strings
532
+ When this codec is used in an Output Plugin, this option can be used to specify the
533
+ value of the device product field in CEF header. The new value can include `%{foo}` strings
96
534
  to help you build a new value from other parts of the event.
97
535
 
98
536
 
@@ -101,6 +539,7 @@ to help you build a new value from other parts of the event.
101
539
 
102
540
  * Value type is <<boolean,boolean>>
103
541
  * Default value is `false`
542
+ * Option has no effect when _decoding_
104
543
 
105
544
  Set to true to adhere to the specifications and encode using the CEF key name (short name) for the CEF field names.
106
545
 
@@ -109,8 +548,10 @@ Set to true to adhere to the specifications and encode using the CEF key name (s
109
548
 
110
549
  * Value type is <<string,string>>
111
550
  * Default value is `"6"`
551
+ * Option has no effect when _decoding_
112
552
 
113
- Severity field in CEF header. The new value can include `%{foo}` strings
553
+ When this codec is used in an Output Plugin, this option can be used to specify the
554
+ value of the severity field in CEF header. The new value can include `%{foo}` strings
114
555
  to help you build a new value from other parts of the event.
115
556
 
116
557
  Defined as field of type string to allow sprintf. The value will be validated
@@ -122,8 +563,10 @@ All invalid values will be mapped to the default of 6.
122
563
 
123
564
  * Value type is <<string,string>>
124
565
  * Default value is `"Logstash"`
566
+ * Option has no effect when _decoding_
125
567
 
126
- Signature ID field in CEF header. The new value can include `%{foo}` strings
568
+ When this codec is used in an Output Plugin, this option can be used to specify the
569
+ value of the signature ID field in CEF header. The new value can include `%{foo}` strings
127
570
  to help you build a new value from other parts of the event.
128
571
 
129
572
  [id="plugins-{type}s-{plugin}-vendor"]
@@ -131,8 +574,10 @@ to help you build a new value from other parts of the event.
131
574
 
132
575
  * Value type is <<string,string>>
133
576
  * Default value is `"Elasticsearch"`
577
+ * Option has no effect when _decoding_
134
578
 
135
- Device vendor field in CEF header. The new value can include `%{foo}` strings
579
+ When this codec is used in an Output Plugin, this option can be used to specify the
580
+ value of the device vendor field in CEF header. The new value can include `%{foo}` strings
136
581
  to help you build a new value from other parts of the event.
137
582
 
138
583
  [id="plugins-{type}s-{plugin}-version"]
@@ -140,8 +585,8 @@ to help you build a new value from other parts of the event.
140
585
 
141
586
  * Value type is <<string,string>>
142
587
  * Default value is `"1.0"`
588
+ * Option has no effect when _decoding_
143
589
 
144
- Device version field in CEF header. The new value can include `%{foo}` strings
590
+ When this codec is used in an Output Plugin, this option can be used to specify the
591
+ value of the device version field in CEF header. The new value can include `%{foo}` strings
145
592
  to help you build a new value from other parts of the event.
146
-
147
-