NAME
Paws::ApplicationInsights::CreateLogPattern - Arguments for method CreateLogPattern on Paws::ApplicationInsights
DESCRIPTION
This class represents the parameters used for calling the method CreateLogPattern on the Amazon CloudWatch Application Insights service. Use the attributes of this class as arguments to method CreateLogPattern.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateLogPattern.
SYNOPSIS
my $applicationinsights = Paws->service('ApplicationInsights');
my $CreateLogPatternResponse = $applicationinsights->CreateLogPattern(
Pattern => 'MyLogPatternRegex',
PatternName => 'MyLogPatternName',
PatternSetName => 'MyLogPatternSetName',
Rank => 1,
ResourceGroupName => 'MyResourceGroupName',
);
# Results:
my $LogPattern = $CreateLogPatternResponse->LogPattern;
my $ResourceGroupName = $CreateLogPatternResponse->ResourceGroupName;
# Returns a L<Paws::ApplicationInsights::CreateLogPatternResponse> object.
Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/applicationinsights/CreateLogPattern
ATTRIBUTES
REQUIRED Pattern => Str
The log pattern. The pattern must be DFA compatible. Patterns that utilize forward lookahead or backreference constructions are not supported.
REQUIRED PatternName => Str
The name of the log pattern.
REQUIRED PatternSetName => Str
The name of the log pattern set.
REQUIRED Rank => Int
Rank of the log pattern. Must be a value between 1
and 1,000,000
. The patterns are sorted by rank, so we recommend that you set your highest priority patterns with the lowest rank. A pattern of rank 1
will be the first to get matched to a log line. A pattern of rank 1,000,000
will be last to get matched. When you configure custom log patterns from the console, a Low
severity pattern translates to a 750,000
rank. A Medium
severity pattern translates to a 500,000
rank. And a High
severity pattern translates to a 250,000
rank. Rank values less than 1
or greater than 1,000,000
are reserved for AWS-provided patterns.
REQUIRED ResourceGroupName => Str
The name of the resource group.
SEE ALSO
This class forms part of Paws, documenting arguments for method CreateLogPattern in Paws::ApplicationInsights
BUGS and CONTRIBUTIONS
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues