You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Specify your implementation of com.wizecore.graylog2.plugin.MessageSender interface.
84
90
85
91
## CEF format handling
86
92
87
-
Here is the algorithm for CEF message delivery used in this plugin. If you don`t understand that this, consult [Common Event Format Guide](https://community.saas.hpe.com/t5/ArcSight-Connectors/ArcSight-Common-Event-Format-CEF-Guide/ta-p/1589306)
93
+
There are format for CEF message delivery used in this plugin. For more information, consult ArcSight[Common Event Format Guide](https://community.saas.hpe.com/t5/ArcSight-Connectors/ArcSight-Common-Event-Format-CEF-Guide/ta-p/1589306)
88
94
89
95
### Header
90
96
91
-
Plugin outputs CEF Header with following fields: ``CEF:0|Graylog|graylog-output-syslog:cefsender|2.3.1|``
97
+
Plugin outputs CEF Header with following fields: `CEF:0|Graylog|graylog-output-syslog:cefsender|2.3.1|`
92
98
93
99
### Device Event Class ID field
94
100
95
-
Currently it is hardcoded as ``log:1``
101
+
Currently it is hardcoded as `log:1`
96
102
97
103
### Name field
98
104
99
-
- If message contains ``act`` field then it is used
100
-
- If message contains ``short_message`` field then it is used
101
-
- else Graylog messageId is used for Name field
102
-
105
+
- If message contains `act` field then it is used
106
+
- If message contains `short_message` field then it is used
107
+
- else Graylog messageId is used for Name field
108
+
103
109
New lines are stripped from this field. Proper escaping applied.
104
-
110
+
105
111
### Severity field
106
112
107
113
Mapping performed between syslog level and CEF log level.
108
114
109
-
Syslog | CEF
110
-
--- | ---
111
-
DEBUG | 1
112
-
NOTICE | 2
113
-
INFO | 3
114
-
WARN | 6
115
-
ERROR | 7
116
-
CRITICAL | 8
117
-
ALERT | 9
118
-
EMERGENCY | 10
115
+
|Syslog | CEF|
116
+
|---------| ---|
117
+
|DEBUG | 1|
118
+
|NOTICE | 2|
119
+
|INFO | 3|
120
+
|WARN | 6|
121
+
|ERROR | 7|
122
+
|CRITICAL | 8|
123
+
|ALERT | 9|
124
+
|EMERGENCY | 10|
119
125
120
126
### Extension fields
121
127
122
-
Every existing message fields is written to Extension except ``message``, ``full_message`` and ``short_message``
128
+
Every existing message fields is written to Extension except `message`, `full_message` and `short_message`
123
129
124
130
### Automatically generated extension fields
125
131
126
132
If existing fields does not contain such keys, following fields will be added to extension:
127
133
128
-
CEF Key Name | Source
129
-
--- | ---
130
-
start | Message timestamp, unix time in milliseconds
0 commit comments