AWS::ApplicationInsights::Application WindowsEvent
The AWS::ApplicationInsights::Application WindowsEvent
property type specifies a Windows Event to monitor for the component.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "EventLevels" :
[ String, ... ]
, "EventName" :String
, "LogGroupName" :String
, "PatternSet" :String
}
YAML
EventLevels:
- String
EventName:String
LogGroupName:String
PatternSet:String
Properties
EventLevels
-
The levels of event to log. You must specify each level to log. Possible values include
INFORMATION
,WARNING
,ERROR
,CRITICAL
, andVERBOSE
. This field is required for each type of Windows Event to log.Required: Yes
Type: Array of String
Minimum:
1
Update requires: No interruption
EventName
-
The type of Windows Events to log, equivalent to the Windows Event log channel name. For example, System, Security, CustomEventName, and so on. This field is required for each type of Windows event to log.
Required: Yes
Type: String
Pattern:
^[a-zA-Z0-9_ \\/-]+$
Minimum:
1
Maximum:
260
Update requires: No interruption
LogGroupName
-
The CloudWatch log group name to be associated with the monitored log.
Required: Yes
Type: String
Pattern:
[\.\-_/#A-Za-z0-9]+
Minimum:
1
Maximum:
512
Update requires: No interruption
PatternSet
-
The log pattern set.
Required: No
Type: String
Pattern:
[a-zA-Z0-9.-_]*
Minimum:
1
Maximum:
30
Update requires: No interruption