Get-LMLogAlert
Syntax
Section titled “Syntax”All (Default)
Section titled “All (Default)”Get-LMLogAlert [<CommonParameters>]Get-LMLogAlert [-Id <int>] [<CommonParameters>]Get-LMLogAlert [-Name <string>] [<CommonParameters>]PipelineId
Section titled “PipelineId”Get-LMLogAlert [-PipelineId <int>] [<CommonParameters>]Description
Section titled “Description”The Get-LMLogAlert function retrieves log alert processor configurations from LogicMonitor. It can retrieve all processors, a specific processor by ID or name, or filter by parent pipeline ID.
Examples
Section titled “Examples”EXAMPLE 1
Section titled “EXAMPLE 1”Get-LMLogAlertEXAMPLE 2
Section titled “EXAMPLE 2”Get-LMLogAlert -PipelineId 10EXAMPLE 3
Section titled “EXAMPLE 3”Get-LMLogAlert -Name "High Error Rate"Parameters
Section titled “Parameters”The ID of the specific log alert processor to retrieve.
Type: System.Int32DefaultValue: 0SupportsWildcards: falseAliases: []ParameterSets:- Name: Id Position: Named IsRequired: false ValueFromPipeline: false ValueFromPipelineByPropertyName: false ValueFromRemainingArguments: falseDontShow: falseAcceptedValues: []HelpMessage: ''The name of the specific log alert processor to retrieve.
Type: System.StringDefaultValue: ''SupportsWildcards: falseAliases: []ParameterSets:- Name: Name Position: Named IsRequired: false ValueFromPipeline: false ValueFromPipelineByPropertyName: false ValueFromRemainingArguments: falseDontShow: falseAcceptedValues: []HelpMessage: ''-PipelineId
Section titled “-PipelineId”The ID of the parent log alert group (pipeline) to filter processors by.
Type: System.Int32DefaultValue: 0SupportsWildcards: falseAliases: []ParameterSets:- Name: PipelineId Position: Named IsRequired: false ValueFromPipeline: false ValueFromPipelineByPropertyName: false ValueFromRemainingArguments: falseDontShow: falseAcceptedValues: []HelpMessage: ''CommonParameters
Section titled “CommonParameters”This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.