Skip to content

Get-LMLogAlert

Terminal window
Get-LMLogAlert [<CommonParameters>]
Terminal window
Get-LMLogAlert [-Id <int>] [<CommonParameters>]
Terminal window
Get-LMLogAlert [-Name <string>] [<CommonParameters>]
Terminal window
Get-LMLogAlert [-PipelineId <int>] [<CommonParameters>]

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.

Terminal window
Get-LMLogAlert
Terminal window
Get-LMLogAlert -PipelineId 10
Terminal window
Get-LMLogAlert -Name "High Error Rate"

The ID of the specific log alert processor to retrieve.

Type: System.Int32
DefaultValue: 0
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: Id
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

The name of the specific log alert processor to retrieve.

Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: Name
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

The ID of the parent log alert group (pipeline) to filter processors by.

Type: System.Int32
DefaultValue: 0
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: PipelineId
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

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.