Skip to content

Latest commit

 

History

History
207 lines (165 loc) · 5.02 KB

File metadata and controls

207 lines (165 loc) · 5.02 KB
external help file Logic.Monitor-help.xml
Module Name Logic.Monitor
online version
schema 2.0.0

Get-LMDatasourceOverviewGraph

SYNOPSIS

Retrieves overview graphs for a LogicMonitor datasource.

SYNTAX

Id-dsName

Get-LMDatasourceOverviewGraph -Id <Int32> -DataSourceName <String> [-BatchSize <Int32>]
 [-ProgressAction <ActionPreference>] [<CommonParameters>]

Id-dsId

Get-LMDatasourceOverviewGraph -Id <Int32> -DataSourceId <String> [-BatchSize <Int32>]
 [-ProgressAction <ActionPreference>] [<CommonParameters>]

Filter-dsName

Get-LMDatasourceOverviewGraph -DataSourceName <String> -Filter <Object> [-BatchSize <Int32>]
 [-ProgressAction <ActionPreference>] [<CommonParameters>]

Name-dsName

Get-LMDatasourceOverviewGraph -DataSourceName <String> -Name <String> [-BatchSize <Int32>]
 [-ProgressAction <ActionPreference>] [<CommonParameters>]

dsName

Get-LMDatasourceOverviewGraph -DataSourceName <String> [-BatchSize <Int32>]
 [-ProgressAction <ActionPreference>] [<CommonParameters>]

Filter-dsId

Get-LMDatasourceOverviewGraph -DataSourceId <String> -Filter <Object> [-BatchSize <Int32>]
 [-ProgressAction <ActionPreference>] [<CommonParameters>]

Name-dsId

Get-LMDatasourceOverviewGraph -DataSourceId <String> -Name <String> [-BatchSize <Int32>]
 [-ProgressAction <ActionPreference>] [<CommonParameters>]

dsId

Get-LMDatasourceOverviewGraph -DataSourceId <String> [-BatchSize <Int32>] [-ProgressAction <ActionPreference>]
 [<CommonParameters>]

DESCRIPTION

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.

EXAMPLES

EXAMPLE 1

#Retrieve an overview graph by ID from a specific datasource
Get-LMDatasourceOverviewGraph -Id 123 -DataSourceId 456

EXAMPLE 2

#Retrieve overview graphs by name from a datasource
Get-LMDatasourceOverviewGraph -Name "System Overview" -DataSourceName "CPU"

PARAMETERS

-Id

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

-DataSourceName

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

-DataSourceId

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

-Name

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

-Filter

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

-BatchSize

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

-ProgressAction

{{ 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

CommonParameters

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

INPUTS

None. You cannot pipe objects to this command.

OUTPUTS

Returns LogicMonitor.DatasourceGraph objects.

NOTES

You must run Connect-LMAccount before running this command.

RELATED LINKS