jobs_count
Creates, updates, deletes, gets or lists a jobs_count resource.
Overview
| Name | jobs_count |
| Type | Resource |
| Id | sumologic.archive.jobs_count |
Fields
The following fields are returned by SELECT queries:
- listArchiveJobsCountPerSource
A list of Archive Sources with ingestion jobs.
| Name | Datatype | Description |
|---|---|---|
failed | integer (int64) | The total number of archive jobs with failed status for the archive source. |
ingesting | integer (int64) | The total number of archive jobs with ingesting status for the archive source. |
pending | integer (int64) | The total number of archive jobs with pending status for the archive source. |
scanning | integer (int64) | The total number of archive jobs with scanning status for the archive source. |
sourceId | string | Identifier for the archive source. (example: 000000000606C009) |
succeeded | integer (int64) | The total number of archive jobs with succeeded status for the archive source. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
listArchiveJobsCountPerSource | select | region | Get 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.
| Name | Datatype | Description |
|---|---|---|
region | string | SumoLogic region (enum: [us2, au, ca, de, eu, fed, in, jp], default: us2) |
SELECT examples
- listArchiveJobsCountPerSource
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
;