· 7 years ago · Dec 19, 2018, 06:46 AM
1{
2 "IsEnabled": true,
3 "EngineConfiguration": {
4 "Components": [
5 {
6 "FullName": "AWS.EC2.Windows.CloudWatch.EventLog.EventLogInputComponent,AWS.EC2.Windows.CloudWatch",
7 "Id": "ApplicationEventLog",
8 "Parameters": {
9 "Levels": "3",
10 "LogName": "Application"
11 }
12 },
13 {
14 "FullName": "AWS.EC2.Windows.CloudWatch.EventLog.EventLogInputComponent,AWS.EC2.Windows.CloudWatch",
15 "Id": "SystemEventLog",
16 "Parameters": {
17 "Levels": "3",
18 "LogName": "System"
19 }
20 },
21 {
22 "FullName": "AWS.EC2.Windows.CloudWatch.EventLog.EventLogInputComponent,AWS.EC2.Windows.CloudWatch",
23 "Id": "SecurityEventLog",
24 "Parameters": {
25 "Levels": "7",
26 "LogName": "Security"
27 }
28 },
29 {
30 "FullName": "AWS.EC2.Windows.CloudWatch.EventLog.EventLogInputComponent,AWS.EC2.Windows.CloudWatch",
31 "Id": "ETW",
32 "Parameters": {
33 "Levels": "7",
34 "LogName": "Microsoft-Windows-WinINet/Analytic"
35 }
36 },
37 {
38 "FullName": "AWS.EC2.Windows.CloudWatch.CustomLog.CustomLogInputComponent,AWS.EC2.Windows.CloudWatch",
39 "Id": "IISLogs",
40 "Parameters": {
41 "CultureName": "en-US",
42 "Encoding": "UTF-8",
43 "Filter": "",
44 "LineCount": "3",
45 "LogDirectoryPath": "C:\\inetpub\\logs\\LogFiles\\W3SVC1",
46 "TimeZoneKind": "UTC",
47 "TimestampFormat": "yyyy-MM-dd HH:mm:ss"
48 }
49 },
50 {
51 "FullName": "AWS.EC2.Windows.CloudWatch.CustomLog.CustomLogInputComponent,AWS.EC2.Windows.CloudWatch",
52 "Id": "CustomLogs",
53 "Parameters": {
54 "CultureName": "en-US",
55 "Encoding": "UTF-8",
56 "Filter": "",
57 "LogDirectoryPath": "C:\\CustomLogs\\",
58 "TimeZoneKind": "Local",
59 "TimestampFormat": "MM/dd/yyyy HH:mm:ss"
60 }
61 },
62 {
63 "FullName": "AWS.EC2.Windows.CloudWatch.PerformanceCounterComponent.PerformanceCounterInputComponent,AWS.EC2.Windows.CloudWatch",
64 "Id": "PerformanceCounter",
65 "Parameters": {
66 "CategoryName": "Memory",
67 "CounterName": "Available MBytes",
68 "DimensionName": "InstanceId",
69 "DimensionValue": "{instance_id}",
70 "InstanceName": "",
71 "MetricName": "Memory",
72 "Unit": "Megabytes"
73 }
74 },
75 {
76 "FullName": "AWS.EC2.Windows.CloudWatch.CloudWatchLogsOutput,AWS.EC2.Windows.CloudWatch",
77 "Id": "CloudWatchLogs",
78 "Parameters": {
79 "AccessKey": "",
80 "LogGroup": "ADPROCD01",
81 "LogStream": "ADPROCD01",
82 "Region": "us-east-1",
83 "SecretKey": ""
84 }
85 },
86 {
87 "FullName": "AWS.EC2.Windows.CloudWatch.CloudWatch.CloudWatchOutputComponent,AWS.EC2.Windows.CloudWatch",
88 "Id": "CloudWatch",
89 "Parameters": {
90 "AccessKey": "",
91 "NameSpace": "Windows/Default",
92 "Region": "us-east-1",
93 "SecretKey": ""
94 }
95 },
96 {
97 "FullName": "AWS.EC2.Windows.CloudWatch.PerformanceCounterComponent.PerformanceCounterInputComponent,AWS.EC2.Windows.CloudWatch",
98 "Id": "PerformanceCounterDisk",
99 "Parameters": {
100 "CategoryName": "LogicalDisk",
101 "CounterName": "% Free Space",
102 "DimensionName": "InstanceId",
103 "DimensionValue": "{instance_id}",
104 "InstanceName": "C:",
105 "MetricName": "FreeDiskPercentageC",
106 "Unit": "Percent"
107 }
108 },
109 {
110 "FullName": "AWS.EC2.Windows.CloudWatch.PerformanceCounterComponent.PerformanceCounterInputComponent,AWS.EC2.Windows.CloudWatch",
111 "Id": "PerformanceCounterDiskD",
112 "Parameters": {
113 "CategoryName": "LogicalDisk",
114 "CounterName": "% Free Space",
115 "DimensionName": "InstanceId",
116 "DimensionValue": "{instance_id}",
117 "InstanceName": "D:",
118 "MetricName": "FreeDiskPercentageD",
119 "Unit": "Percent"
120 }
121 }
122 ],
123 "Flows": {
124 "Flows": [
125 "(ApplicationEventLog,SystemEventLog,SecurityEventLog),CloudWatchLogs",
126 "(PerformanceCounter,PerformanceCounterDisk,PerformanceCounterDiskD),CloudWatch"
127 ]
128 },
129 "PollInterval": "00:00:15"
130 }
131}