Ingestion logs

After starting the ingestion of a file, the status and logs of the ingestion job can be viewed via either the job id, the file id or the seismic-store id.

If a file is being re-ingested, the status returned will always be from the newest ingestion job.

Retrieving the status and logs of an ingestion job via the seismic-store id can only be done on re-ingestion.

# Get ingestion job status via job id
client.job.status(job_id="e5707588-adf2-4d2a-8c2f-f782ca2f0880")

# Get ingestion job status via file id
client.job.status(file_id="example.sgy")

# Get ingestion job status via seismic-store id
client.job.status(seismicstore_id=123)

Example output

Logs are returned and printed in ascending order:

>>> client.job.status(job_id="e5707588-adf2-4d2a-8c2f-f782ca2f0880")

status: IN_PROGRESS
started_at: "2021-02-04 12:34:41.849770"
updated_at: "2021-02-04 12:34:43.273979"
logs {
  timestamp: "2021-02-04 12:34:43.398058"
  log_line: "Retrieving file <example.sgy> from cloud storage"
}
logs {
  timestamp: "2021-02-04 12:34:46.128376"
  log_line: "Starting to process file"
}
logs {
  timestamp: "2021-02-04 12:34:46.279469"
  log_line: "Starting to insert file headers"
}
logs {
  timestamp: "2021-02-04 12:34:46.761481"
  log_line: "Starting to insert trace headers"
}
logs {
  timestamp: "2021-02-04 12:34:47.437377"
  log_line: "Starting to insert trace data"
}
logs {
  timestamp: "2021-02-04 12:34:47.858103"
  log_line: "Starting to compute and persist grid"
}
logs {
  timestamp: "2021-02-04 12:34:47.904304"
  log_line: "Starting to create seismic store"
}
logs {
  timestamp: "2021-02-04 12:34:47.924821"
  log_line: "Starting to compute and persist volume definition to seismic store"
}
logs {
  timestamp: "2021-02-04 12:34:48.061257"
  log_line: "Starting to compute and persist coverage"
}
logs {
  timestamp: "2021-02-04 12:34:48.314251"
  log_line: "Starting to compute and persist geospatial coverage"
}