Skip to content

Commit

Permalink
Updated windows readme and example spec (#9725)
Browse files Browse the repository at this point in the history
* updated windows readme and example spec

* update the source recommendation

* Update conf.yaml.example

Co-authored-by: Andrew Zhang <yzhan289@jhu.edu>
  • Loading branch information
anshumgargdd and yzhan289 authored Oct 28, 2021
1 parent 45929cf commit a3eb033
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions win32_event_log/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,17 +54,17 @@ Then add the channels in your `win32_event_log.d/conf.yaml` configuration file:
logs:
- type: windows_event
channel_path: "<CHANNEL_1>"
source: "<CHANNEL_1>"
source: "windows.events"
service: myservice

- type: windows_event
channel_path: "<CHANNEL_2>"
source: "<CHANNEL_2>"
source: "windows.events"
service: myservice
```
Edit the `<CHANNEL_X>` parameters with the Windows channel name you want to collect events from.
Set the corresponding `source` parameter to the same channel name to benefit from the [integration automatic processing pipeline][5].
Set the corresponding `source` parameter to `windows.events` to benefit from the [integration automatic processing pipeline][5].

Finally, [restart the Agent][4].

Expand Down
4 changes: 2 additions & 2 deletions win32_event_log/assets/configuration/spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ files:
example:
- type: windows_event
channel_path: <CHANNEL_1>
source: <CHANNEL_1>
source: windows.events
- type: windows_event
channel_path: <CHANNEL_2>
source: <CHANNEL_2>
source: windows.events
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ instances:
# logs:
# - type: windows_event
# channel_path: <CHANNEL_1>
# source: <CHANNEL_1>
# source: windows.events
# - type: windows_event
# channel_path: <CHANNEL_2>
# source: <CHANNEL_2>
# source: windows.events

0 comments on commit a3eb033

Please sign in to comment.