path
Creates, updates, deletes, gets or lists a path
resource.
Overview
Name | path |
Type | Resource |
Id | sumologic.slos.path |
Fields
The following fields are returned by SELECT
queries:
- getSlosFullPath
Full path of the slo or folder.
Name | Datatype | Description |
---|---|---|
path | string | String representation of the path. |
pathItems | array | Elements of the path. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
getSlosFullPath | select | id , region | Get the full path of the slo or folder in the slos library. | |
slosGetByPath | exec | path , region | Read 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.
Name | Datatype | Description |
---|---|---|
id | string | Identifier of the slo or folder. |
path | string | The path of the slo or folder. |
region | string | SumoLogic region (enum: [us2, au, ca, de, eu, fed, in, jp], default: us2) |
SELECT
examples
- getSlosFullPath
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
- slosGetByPath
Read a slo or folder by its path in the slos library structure.
EXEC sumologic.slos.path.slosGetByPath
@path='{{ path }}' --required,
@region='{{ region }}' --required
;