Skip to main content

folders_global_result

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

Overview

Namefolders_global_result
TypeResource
Idsumologic.content.folders_global_result

Fields

The following fields are returned by SELECT queries:

List of all content items with view permission.

NameDatatypeDescription
idstringIdentifier of the content item. (example: 000000000C1C17C6)
namestringThe name of the content item. (example: Personal)
createdAtstring (date-time)Creation timestamp in UTC in RFC3339 format. (example: 2018-10-16T09:10:00Z)
createdBystringIdentifier of the user who created the resource. (example: 0000000006743FDD)
itemTypestringType of the content item. Supported values are: 1. Folder 2. Search 3. Report (for old dashboards) 4. Dashboard (for new dashboards) 5. Lookups (example: Folder)
modifiedAtstring (date-time)Last modification timestamp in UTC. (example: 2018-10-16T09:10:00Z)
modifiedBystringIdentifier of the user who last modified the resource. (example: 0000000006743FE8)
parentIdstringIdentifier of the parent content item. (example: 0000000001C41EF2)
permissionsarrayList of permissions the user has on the content item.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getGlobalFolderAsyncResultselectjobId, regionGet result of a Global View job for the given job identifier. The result will be a list of all content items that a user has permissions to view in the organization.

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
jobIdstringThe identifier of the asynchronous Global View job.
regionstringSumoLogic region (enum: [us2, au, ca, de, eu, fed, in, jp], default: us2)

SELECT examples

Get result of a Global View job for the given job identifier. The result will be a list of all content items that a user has permissions to view in the organization.

SELECT
id,
name,
createdAt,
createdBy,
itemType,
modifiedAt,
modifiedBy,
parentId,
permissions
FROM sumologic.content.folders_global_result
WHERE jobId = '{{ jobId }}' -- required
AND region = '{{ region }}' -- required
;