Join the MemSQL Community Today
Get expert advice, develop skills, and connect with others.

JOB-LOGS

MemSQL Ops has been deprecated

Please follow this guide to learn how to migrate to MemSQL tools.

Info

MemSQL Helios does not support this command.

View logs for jobs the MemSQL Ops agent has run.

This is useful for troubleshooting MemSQL Ops.

Usage

usage: memsql-ops job-logs [--settings-file SETTINGS_FILE] [-n NUM_LINES] [-f]
                           job_id

View job logs.

positional arguments:
  job_id                The ID of the job.

optional arguments:
  --settings-file SETTINGS_FILE
                        A path to a MemSQL Ops settings.conf file. If not set,
                        we will use the file in the same directory as the
                        MemSQL Ops binary.
  -n NUM_LINES, --num-lines NUM_LINES
                        Specifies the number of lines to show from the job's
                        logs.
  -f, --follow          Follow the job's logs.