| external help file | Logic.Monitor-help.xml |
|---|---|
| Module Name | Logic.Monitor |
| online version | |
| schema | 2.0.0 |
Retrieves overview graphs for a LogicMonitor datasource.
Get-LMDatasourceOverviewGraph -Id <Int32> -DataSourceName <String> [-BatchSize <Int32>]
[-ProgressAction <ActionPreference>] [<CommonParameters>]
Get-LMDatasourceOverviewGraph -Id <Int32> -DataSourceId <String> [-BatchSize <Int32>]
[-ProgressAction <ActionPreference>] [<CommonParameters>]
Get-LMDatasourceOverviewGraph -DataSourceName <String> -Filter <Object> [-BatchSize <Int32>]
[-ProgressAction <ActionPreference>] [<CommonParameters>]
Get-LMDatasourceOverviewGraph -DataSourceName <String> -Name <String> [-BatchSize <Int32>]
[-ProgressAction <ActionPreference>] [<CommonParameters>]
Get-LMDatasourceOverviewGraph -DataSourceName <String> [-BatchSize <Int32>]
[-ProgressAction <ActionPreference>] [<CommonParameters>]
Get-LMDatasourceOverviewGraph -DataSourceId <String> -Filter <Object> [-BatchSize <Int32>]
[-ProgressAction <ActionPreference>] [<CommonParameters>]
Get-LMDatasourceOverviewGraph -DataSourceId <String> -Name <String> [-BatchSize <Int32>]
[-ProgressAction <ActionPreference>] [<CommonParameters>]
Get-LMDatasourceOverviewGraph -DataSourceId <String> [-BatchSize <Int32>] [-ProgressAction <ActionPreference>]
[<CommonParameters>]
The Get-LMDatasourceOverviewGraph function retrieves overview graph information from LogicMonitor datasources. It can retrieve graphs by ID, name, or by their associated datasource using either datasource ID or name.
#Retrieve an overview graph by ID from a specific datasource
Get-LMDatasourceOverviewGraph -Id 123 -DataSourceId 456
#Retrieve overview graphs by name from a datasource
Get-LMDatasourceOverviewGraph -Name "System Overview" -DataSourceName "CPU"
The ID of the overview graph to retrieve. This parameter is mandatory when using the Id-dsId or Id-dsName parameter sets.
Type: Int32
Parameter Sets: Id-dsName, Id-dsId
Aliases:
Required: True
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: FalseThe name of the datasource to retrieve overview graphs from. This parameter is mandatory for dsName, Id-dsName, Name-dsName, and Filter-dsName parameter sets.
Type: String
Parameter Sets: Id-dsName, Filter-dsName, Name-dsName, dsName
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThe ID of the datasource to retrieve overview graphs from. This parameter is mandatory for dsId, Id-dsId, Name-dsId, and Filter-dsId parameter sets.
Type: String
Parameter Sets: Id-dsId, Filter-dsId, Name-dsId, dsId
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThe name of the overview graph to retrieve. This parameter is mandatory for Name-dsId and Name-dsName parameter sets.
Type: String
Parameter Sets: Name-dsName, Name-dsId
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseA filter object to apply when retrieving overview graphs. This parameter is mandatory for Filter-dsId and Filter-dsName parameter sets.
Type: Object
Parameter Sets: Filter-dsName, Filter-dsId
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThe number of results to return per request. Must be between 1 and 1000. Defaults to 1000.
Type: Int32
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: 1000
Accept pipeline input: False
Accept wildcard characters: False{{ Fill ProgressAction Description }}
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
You must run Connect-LMAccount before running this command.