Skip to main content

jobs_count

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

Overview

Namejobs_count
TypeResource
Idsumologic.archive.jobs_count

Fields

The following fields are returned by SELECT queries:

A list of Archive Sources with ingestion jobs.

NameDatatypeDescription
failedinteger (int64)The total number of archive jobs with failed status for the archive source.
ingestinginteger (int64)The total number of archive jobs with ingesting status for the archive source.
pendinginteger (int64)The total number of archive jobs with pending status for the archive source.
scanninginteger (int64)The total number of archive jobs with scanning status for the archive source.
sourceIdstringIdentifier for the archive source. (example: 000000000606C009)
succeededinteger (int64)The total number of archive jobs with succeeded status for the archive source.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listArchiveJobsCountPerSourceselectregionGet a list of all Archive Sources with the count and status of ingestion jobs.

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
regionstringSumoLogic region (enum: [us2, au, ca, de, eu, fed, in, jp], default: us2)

SELECT examples

Get a list of all Archive Sources with the count and status of ingestion jobs.

SELECT
failed,
ingesting,
pending,
scanning,
sourceId,
succeeded
FROM sumologic.archive.jobs_count
WHERE region = '{{ region }}' -- required
;