Skip to main content

sync_job_results

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

Overview

Namesync_job_results
TypeResource
Idsumologic.content_sync.sync_job_results

Fields

The following fields are returned by SELECT queries:

Result of Content Sync Job.

NameDatatypeDescription
content_idstringIdentifier of Content or Configuration (example: MATCH-S00574) (wire: contentId)
child_organizationobject (wire: childOrganization)
messagestringMessage Passed while processing content or configuration sync. (example: Sync Failed due to an Internal Error, Please check with support team for more details.)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectjob_id, status, regionGet Result Of Content Sync Job by ID.

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_idstringId of Content Sync 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)
statusstringSpecific Status of Content Sync Job Result to be fetched. Possible values are "SUCCESS", "FAILED", "WARNING", "CANCELLED".

SELECT examples

Get Result Of Content Sync Job by ID.

SELECT
content_id,
child_organization,
message
FROM sumologic.content_sync.sync_job_results
WHERE job_id = '{{ job_id }}' -- required
AND status = '{{ status }}' -- required
AND region = '{{ region }}' -- required unless SUMOLOGIC_ENVIRONMENT is set
;