Skip to content

Get-LMDatasourceOverviewGraph

Terminal window
Get-LMDatasourceOverviewGraph -Id <Int32> -DataSourceName <String> [-BatchSize <Int32>]
[-ProgressAction <ActionPreference>] [<CommonParameters>]
Terminal window
Get-LMDatasourceOverviewGraph -Id <Int32> -DataSourceId <String> [-BatchSize <Int32>]
[-ProgressAction <ActionPreference>] [<CommonParameters>]
Terminal window
Get-LMDatasourceOverviewGraph -DataSourceName <String> -Filter <Object> [-BatchSize <Int32>]
[-ProgressAction <ActionPreference>] [<CommonParameters>]
Terminal window
Get-LMDatasourceOverviewGraph -DataSourceName <String> -Name <String> [-BatchSize <Int32>]
[-ProgressAction <ActionPreference>] [<CommonParameters>]
Terminal window
Get-LMDatasourceOverviewGraph -DataSourceName <String> [-BatchSize <Int32>]
[-ProgressAction <ActionPreference>] [<CommonParameters>]
Terminal window
Get-LMDatasourceOverviewGraph -DataSourceId <String> -Filter <Object> [-BatchSize <Int32>]
[-ProgressAction <ActionPreference>] [<CommonParameters>]
Terminal window
Get-LMDatasourceOverviewGraph -DataSourceId <String> -Name <String> [-BatchSize <Int32>]
[-ProgressAction <ActionPreference>] [<CommonParameters>]
Terminal window
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.

Terminal window
#Retrieve an overview graph by ID from a specific datasource
Get-LMDatasourceOverviewGraph -Id 123 -DataSourceId 456
Terminal window
#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: False

The 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: False

The 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: False

The 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: False

A 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: False

The 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: False

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

None. You cannot pipe objects to this command.

Section titled “None. You cannot pipe objects to this command.”

Returns LogicMonitor.DatasourceGraph objects.

Section titled “Returns LogicMonitor.DatasourceGraph objects.”

You must run Connect-LMAccount before running this command.