Skip to main content

root

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

Overview

Nameroot
TypeResource
Idsumologic.monitors.root

Fields

The following fields are returned by SELECT queries:

Root folder of the monitors library.

NameDatatypeDescription
idstringIdentifier of the monitor or folder.
namestringIdentifier of the monitor or folder.
childrenarrayChildren of the folder. NOTE: Permissions field will not be filled (empty list) for children.
contentTypestringType of the content. Valid values: 1) Monitor 2) Folder
createdAtstring (date-time)Creation timestamp in UTC in RFC3339 format.
createdBystringIdentifier of the user who created the resource.
descriptionstringDescription of the monitor or folder.
isMutablebooleanImmutable objects are "READ-ONLY".
isSystembooleanSystem objects are objects provided by Sumo Logic. System objects can only be localized. Non-local fields can't be updated.
modifiedAtstring (date-time)Last modification timestamp in UTC.
modifiedBystringIdentifier of the user who last modified the resource.
parentIdstringIdentifier of the parent folder.
permissionsarrayAggregated permission summary for the calling user. If detailed permission statements are required, please call list permissions endpoint.
typestringType of the object model.
versioninteger (int64)Version of the monitor or folder.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getMonitorsLibraryRootselectregionGet the root folder in the monitors library.

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
regionstringSumoLogic region (enum: [us2, au, ca, de, eu, fed, in, jp], default: us2)

SELECT examples

Get the root folder in the monitors library.

SELECT
id,
name,
children,
contentType,
createdAt,
createdBy,
description,
isMutable,
isSystem,
modifiedAt,
modifiedBy,
parentId,
permissions,
type,
version
FROM sumologic.monitors.root
WHERE region = '{{ region }}' -- required
;