Skip to main content

export_results

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

Overview

Nameexport_results
TypeResource
Idsumologic.content.export_results

Fields

The following fields are returned by SELECT queries:

The result of export job.

NameDatatypeDescription
namestringThe name of the item.
typestringThe 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:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectcontent_id, job_id, regionis_admin_modeGet 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.

NameDatatypeDescription
content_idstringThe identifier of the exported content item. (wire: contentId)
job_idstringThe identifier of the asynchronous job. (wire: jobId)
regionstringSumo 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_modestringSet this to "true" if you want to perform the request as a Content Administrator. (wire: isAdminMode)

SELECT examples

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 }}'
;