Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
mirror
sumologic-collector
Commits
fee192fb
Unverified
Commit
fee192fb
authored
May 11, 2022
by
Andrzej Stencel
Browse files
feat!: change default event_message to :message
parent
3714d984
Changes
2
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
fee192fb
...
...
@@ -383,7 +383,7 @@ listed above.
-
`log_names`
-
**required**
-
`event_format`
-
`:legacy`
for legacy format or
`:json`
for JSON format.
`:legacy`
is default.
-
`event_message`
- Use with JSON format.
`:complete`
,
`:message`
(recommended), or
`:metadata`
for metadata only.
`:
complet
e`
is default.
`:
messag
e`
is default.
-
`allowlist`
- Available in Collector version 19.351-4 and later. A comma-separated list of event IDs.
This is an empty string as default.
-
`denylist`
- Available in Collector version 19.351-4 and later. A comma-separated list of event IDs.
...
...
libraries/resource_local_win_event_log_source.rb
View file @
fee192fb
...
...
@@ -12,7 +12,7 @@ class Chef
attribute
:source_type
,
kind_of:
Symbol
,
default: :local_windows_event_log
,
equal_to:
[
:local_windows_event_log
]
attribute
:log_names
,
kind_of:
Array
,
required:
true
attribute
:event_format
,
kind_of:
Symbol
,
default: :legacy
,
equal_to:
EVENT_FORMAT
.
keys
attribute
:event_message
,
kind_of:
Symbol
,
default: :
complet
e
,
equal_to:
EVENT_MESSAGE
.
keys
attribute
:event_message
,
kind_of:
Symbol
,
default: :
messag
e
,
equal_to:
EVENT_MESSAGE
.
keys
attribute
:allowlist
,
kind_of:
String
attribute
:denylist
,
kind_of:
String
end
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment