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