Skip to main content

path

Creates, updates, deletes, gets or lists a path resource.

Overview

Namepath
TypeResource
Idsumologic.slos.path

Fields

The following fields are returned by SELECT queries:

Full path of the slo or folder.

NameDatatypeDescription
pathstringString representation of the path.
pathItemsarrayElements of the path.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getSlosFullPathselectid, regionGet the full path of the slo or folder in the slos library.
slosGetByPathexecpath, regionRead a slo or folder by its path in the slos library structure.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
idstringIdentifier of the slo or folder.
pathstringThe path of the slo or folder.
regionstringSumoLogic region (enum: [us2, au, ca, de, eu, fed, in, jp], default: us2)

SELECT examples

Get the full path of the slo or folder in the slos library.

SELECT
path,
pathItems
FROM sumologic.slos.path
WHERE id = '{{ id }}' -- required
AND region = '{{ region }}' -- required
;

Lifecycle Methods

Read a slo or folder by its path in the slos library structure.

EXEC sumologic.slos.path.slosGetByPath 
@path='{{ path }}' --required,
@region='{{ region }}' --required
;