Skip to main content

migration_results

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

Overview

Namemigration_results
TypeResource
Idsumologic.dashboards.migration_results

Fields

The following fields are returned by SELECT queries:

Dashboard migration job result.

NameDatatypeDescription
dataobjectA mapping of Legacy Dashboard Content Ids to migrated Dashboard(New) Content Ids. Only successful migration are shown here, see errors field for failed migrations and the failure reason.
errorsobjectA mapping of Legacy Dashboards Content Identifiers that failed validation to the failure reason(s).
rich_dataobjectA mapping of Legacy Dashboard Content Ids to migrated Dashboard(New) info. Only successful migration are shown here, see errors field for failed migrations and the failure reason. (wire: richData)
statusobject
warningsobjectA mapping of Legacy Dashboards Content Identifiers to warnings.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectjob_id, regionGet the result of an asynchronous Dashboard Migration request for the given job identifier.

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
job_idstringThe identifier of the asynchronous Dashboard Migration 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)

SELECT examples

Get the result of an asynchronous Dashboard Migration request for the given job identifier.

SELECT
data,
errors,
rich_data,
status,
warnings
FROM sumologic.dashboards.migration_results
WHERE job_id = '{{ job_id }}' -- required
AND region = '{{ region }}' -- required unless SUMOLOGIC_ENVIRONMENT is set
;