Skip to main content

import

Creates, updates, deletes, gets or lists an import resource.

Overview

Nameimport
TypeResource
Idsumologic.monitors.import

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
monitorsImportItemexecparentId, region, name, typeImport a monitor or folder.

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
parentIdstringIdentifier of the parent folder in which to import the monitor or folder.
regionstringSumoLogic region (enum: [us2, au, ca, de, eu, fed, in, jp], default: us2)

Lifecycle Methods

Import a monitor or folder.

EXEC sumologic.monitors.import.monitorsImportItem 
@parentId='{{ parentId }}' --required,
@region='{{ region }}' --required
@@json=
'{
"name": "{{ name }}",
"description": "{{ description }}",
"type": "{{ type }}"
}'
;