Skip to content

Commit 2c292c1

Browse files
committed
Move flags to windows file
1 parent f583738 commit 2c292c1

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

extension/agenthealth/handler/useragent/useragent.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,17 +33,12 @@ const (
3333
flagEnhancedContainerInsights = "enhanced_container_insights"
3434
flagSELinux = "selinux"
3535
flagROSA = "rosa"
36-
flagWindowsEventIDs = "win_event_ids"
37-
flagWindowsEventFilters = "win_event_filters"
38-
flagWindowsEventLevels = "win_event_levels"
3936
separator = " "
4037

4138
typeInputs = "inputs"
4239
typeProcessors = "processors"
4340
typeOutputs = "outputs"
4441
typeFeature = "feature"
45-
46-
pluginWindowsEventLog = "windows_event_log"
4742
)
4843

4944
var (

extension/agenthealth/handler/useragent/useragent_windows.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,13 @@ import (
1111
"github.com/aws/amazon-cloudwatch-agent/plugins/inputs/windows_event_log"
1212
)
1313

14+
const (
15+
flagWindowsEventIDs = "win_event_ids"
16+
flagWindowsEventFilters = "win_event_filters"
17+
flagWindowsEventLevels = "win_event_levels"
18+
pluginWindowsEventLog = "windows_event_log"
19+
)
20+
1421
func (ua *userAgent) setWindowsEventLogFeatureFlags(input *models.RunningInput) {
1522
if input.Config.Name == pluginWindowsEventLog {
1623
if plugin, ok := input.Input.(*windows_event_log.Plugin); ok {

0 commit comments

Comments
 (0)