AWS::ApplicationInsights::Application Log - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China.

AWS::ApplicationInsights::Application Log

The AWS::ApplicationInsights::Application Log property type specifies a log to monitor for the component.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "Encoding" : String, "LogGroupName" : String, "LogPath" : String, "LogType" : String, "PatternSet" : String }

YAML

Encoding: String LogGroupName: String LogPath: String LogType: String PatternSet: String

Properties

Encoding

The type of encoding of the logs to be monitored. The specified encoding should be included in the list of CloudWatch agent supported encodings. If not provided, CloudWatch Application Insights uses the default encoding type for the log type:

  • APPLICATION/DEFAULT: utf-8 encoding

  • SQL_SERVER: utf-16 encoding

  • IIS: ascii encoding

Required: No

Type: String

Update requires: No interruption

LogGroupName

The CloudWatch log group name to be associated with the monitored log.

Required: No

Type: String

Update requires: No interruption

LogPath

The path of the logs to be monitored. The log path must be an absolute Windows or Linux system file path. For more information, see CloudWatch Agent Configuration File: Logs Section.

Required: No

Type: String

Update requires: No interruption

LogType

The log type decides the log patterns against which Application Insights analyzes the log. The log type is selected from the following: SQL_SERVER, MYSQL, MYSQL_SLOW_QUERY, POSTGRESQL, ORACLE_ALERT, ORACLE_LISTENER, IIS, APPLICATION, WINDOWS_EVENTS, WINDOWS_EVENTS_ACTIVE_DIRECTORY, WINDOWS_EVENTS_DNS , WINDOWS_EVENTS_IIS , WINDOWS_EVENTS_SHAREPOINT, SQL_SERVER_ALWAYSON_AVAILABILITY_GROUP, SQL_SERVER_FAILOVER_CLUSTER_INSTANCE, STEP_FUNCTION, API_GATEWAY_ACCESS, API_GATEWAY_EXECUTION, SAP_HANA_LOGS, SAP_HANA_TRACE, SAP_HANA_HIGH_AVAILABILITY, and DEFAULT.

Required: Yes

Type: String

Update requires: No interruption

PatternSet

The log pattern set.

Required: No

Type: String

Update requires: No interruption