You are viewing an older version of this section. View current production version.
Join the MemSQL Community Today
Get expert advice, develop skills, and connect with others.


MemSQL Ops has been deprecated

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


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: memsql-ops job-logs [--settings-file SETTINGS_FILE] [-n NUM_LINES] [-f]

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
  -f, --follow          Follow the job's logs.