Skip to content

Commit

Permalink
clarifying logname/channel name (DataDog#3044)
Browse files Browse the repository at this point in the history
  • Loading branch information
cswatt authored and ruthnaebeck committed Jan 28, 2019
1 parent 5c42ed6 commit 2e7337d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions win32_event_log/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,15 @@ To see the most active channels, run the following command in a PowerShell:
Get-WinEvent -ListLog * | sort RecordCount -Descending
```

This command displays channels in the format `LogMode MaximumSizeInBytes RecordCount LogName`. Example response:

```
LogMode MaximumSizeInBytes RecordCount LogName
Circular 134217728 249896 Security
```

The value under the column `LogName` is the name of the channel. In the above example, the channel name is `Security`.

Then add the channels in your `win32_event_log.d/conf.yaml` configuration file:

```
Expand Down

0 comments on commit 2e7337d

Please sign in to comment.