Skip to content

CreateLogPatternRequest

Source code in docs_src/capo_application_insights/types/create_log_pattern_request.py
class CreateLogPatternRequest(TypedDict, closed=True):
    resource_group_name: (
        "capo_application_insights.types.resource_group_name.ResourceGroupName"
    )
    """<p>The name of the resource group.</p>"""
    pattern_set_name: (
        "capo_application_insights.types.log_pattern_set_name.LogPatternSetName"
    )
    """<p>The name of the log pattern set.</p>"""
    pattern_name: "capo_application_insights.types.log_pattern_name.LogPatternName"
    """<p>The name of the log pattern.</p>"""
    pattern: "capo_application_insights.types.log_pattern_regex.LogPatternRegex"
    """<p>The log pattern. The pattern must be DFA compatible. Patterns that utilize forward lookahead or backreference constructions are not supported.</p>"""
    rank: "capo_application_insights.types.log_pattern_rank.LogPatternRank"
    """<p>Rank of the log pattern. Must be a value between <code>1</code> and <code>1,000,000</code>. The patterns are sorted by rank, so we recommend that you set your highest priority patterns with the lowest rank. A pattern of rank <code>1</code> will be the first to get matched to a log line. A pattern of rank <code>1,000,000</code> will be last to get matched. When you configure custom log patterns from the console, a <code>Low</code> severity pattern translates to a <code>750,000</code> rank. A <code>Medium</code> severity pattern translates to a <code>500,000</code> rank. And a <code>High</code> severity pattern translates to a <code>250,000</code> rank. Rank values less than <code>1</code> or greater than <code>1,000,000</code> are reserved for Amazon Web Services provided patterns. </p>"""

pattern instance-attribute

pattern: LogPatternRegex

The log pattern. The pattern must be DFA compatible. Patterns that utilize forward lookahead or backreference constructions are not supported.

pattern_name instance-attribute

pattern_name: LogPatternName

The name of the log pattern.

pattern_set_name instance-attribute

pattern_set_name: LogPatternSetName

The name of the log pattern set.

rank instance-attribute

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 Amazon Web Services provided patterns.

resource_group_name instance-attribute

resource_group_name: ResourceGroupName

The name of the resource group.