# BackfillJobAction

**Type**: `object`

## Properties

- name: backfillQuery (required)
  type: `backfillQuery`

- name: backfillTimespan (optional)
  type: string
  description: The timespan for which to backfill data. This field is not required. If you do not specify it, you need to specify a duration in the trigger. For TraceSamplingTriggers, this can be specified in the traceDuration field. For others, you will need to specify a duration in the variables, e.g. __duration:PT1H

- name: datasetId (required)
  type: string
  description: The ID of the dataset to read data from

- name: jobTags (required)
  type: object
  description: The tags added to the backfill job, for ease of search.

- name: limit (optional)
  type: integer
  description: Maximum number of logs to backfill. Default and max is 500,000.

- name: name (required)
  type: string
  description: The name of the backfill job.

- name: order (optional)
  type: integer
  description: Action order. Lower is applied first.

- name: sinkOperations (required)
  type: array of `Operation`
  description: Specifies the sinks that should be used for the backfill job.

- name: type (required)
  type: enum: `backfill-job-action`
  description: Backfills data from the raw logs to the configured sink. This action runs an asynch batch job to backfill data from the raw logs table to the configured sink. The back-filled data is also added to the processed logs table to ensure that the same log is not backfilled twice leading to duplicates. The context on what needs to be backfilled is provided by the 'backfillQuery' which will filter logs that will be backfilled.
