Skip to content

Commit

Permalink
Fix missing Windows events by changing getRecords(). (#333)
Browse files Browse the repository at this point in the history
* Fix missing Windows events by changing getRecords(). Add unit tests.
  • Loading branch information
adam-mateen authored Jan 12, 2022
1 parent f8340e0 commit 5707c96
Show file tree
Hide file tree
Showing 8 changed files with 314 additions and 152 deletions.
1 change: 1 addition & 0 deletions plugins/inputs/windows_event_log/wineventlog/sys_call.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build windows
// +build windows

// Portions Licensed under the Apache License, Version 2.0, Copyright (c) 2012–2017 Elastic <http://www.elastic.co>
Expand Down
1 change: 1 addition & 0 deletions plugins/inputs/windows_event_log/wineventlog/utils.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: MIT

//go:build windows
// +build windows

package wineventlog
Expand Down
1 change: 1 addition & 0 deletions plugins/inputs/windows_event_log/wineventlog/utils_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: MIT

//go:build windows
// +build windows

package wineventlog
Expand Down
Loading

0 comments on commit 5707c96

Please sign in to comment.