export_results
Creates, updates, deletes, gets or lists an export_results resource.
Overview
| Name | export_results |
| Type | Resource |
| Id | sumologic.content.export_results |
Fields
The following fields are returned by SELECT queries:
- get
The result of export job.
| Name | Datatype | Description |
|---|---|---|
name | string | The name of the item. |
type | string | The content item type. Note: - MewboardSyncDefinition is depreciated, and will soon be removed. Please use DashboardV2SyncDefinition instead. - Dashboard links are not supported for dashboards. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | content_id, job_id, region | is_admin_mode | Get results from content export job for the given job identifier. The results from this export are incompatible with the Library import feature in the Sumo user interface. |
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 |
|---|---|---|
content_id | string | The identifier of the exported content item. (wire: contentId) |
job_id | string | The identifier of the asynchronous job. (wire: jobId) |
region | string | Sumo Logic deployment (au, ca, ch, de, eu, fed, in, jp, kr, us1, us2). Resolved from the SUMOLOGIC_ENVIRONMENT environment variable when it is set (x-stackQL-envVar, the same variable the Terraform provider reads); otherwise defaults to us2. A WHERE region = '...' value always takes precedence. (enum: [au, ca, ch, de, eu, fed, in, jp, kr, us1, us2], default: us2, x-stackQL-envVar: SUMOLOGIC_ENVIRONMENT) |
is_admin_mode | string | Set this to "true" if you want to perform the request as a Content Administrator. (wire: isAdminMode) |
SELECT examples
- get
Get results from content export job for the given job identifier. The results from this export are incompatible with the Library import feature in the Sumo user interface.
SELECT
name,
type
FROM sumologic.content.export_results
WHERE content_id = '{{ content_id }}' -- required
AND job_id = '{{ job_id }}' -- required
AND region = '{{ region }}' -- required unless SUMOLOGIC_ENVIRONMENT is set
AND is_admin_mode = '{{ is_admin_mode }}'
;