Metadata Access.


It shows info about jobs and sessions (logging bookkeeping). Any filter can use SQL wildcards (%, _, etc.).


  • session_level: 0 (sessionid (+ session label) (default)) or 1 (sessionid (+ session label) + session creation date).

  • job_level: 0 (nothing (default)) or 1 (job id (+ parent job id) + workflow id + marker id) or 2 (job id (+ parent job id) + workflow id + marker id + job submission date).

  • mask: 3-digit mask, considered if job_level is bigger than 0, according to the following conventions:

    • 1st digit: 0 (nothing (default)) or 1 (job status)
    • 2nd digit: 0 (nothing (default)) or 1 (submission string)
    • 3rd digit: 0 (nothing (default)) or 1 (job start and end date). Mask examples:
      • 000: nothing (default)
      • 100: job status
      • 010: submission string
      • 001: job start and end date
      • 110: job status + submission string
  • session_filter: filter on a particular sessionID.

  • session_label_filter: filter on a particular session label.

  • session_creation_filter: filter on session’s creation date (yyyy-mm-dd hh:mm:ss <= date <= yyyy-mm-dd hh:mm:ss). Possible dates:

    • yyyy
    • yyyy-mm
    • yyyy-mm-dd
    • yyyy-mm-dd hh
    • yyyy-mm-dd hh:mm
    • yyyy-mm-dd hh:mm:ss

    default values: start 1900-01-01 00:00:00 end 2100-01-01 00:00:00 example: 1900-01-01 00:00:00,2100-01-01 00:00:00. It is also possible to specify only starting or ending date by leaving empty the value after or before the comma.

  • workflowid_filter: filter on a particular workflow ID.

  • markerid_filter: filter on a particular marker ID.

  • parent_job_filter: filter on a particular parent job ID. If the wildcard % is used, then only jobs with a parent will be shown.

  • job_creation_filter: filter on job submission date as with session_creation_filter.

  • job_status_filter: filter on job status.

  • submission_string_filter: filter on submission string.

  • job_start_filter: filter on job’s start date as with session_creation_filter.

  • job_end_filter: filter on job’s end date as with session_creation_filter.

  • nlines: maximum number of lines to be displayed, starting from the end of the log. Default value is “100”.

System parameters

  • exec_mode: operator execution mode. Possible values are async (default) for asynchronous mode, sync for synchronous mode with json-compliant output.
  • ncores: number of parallel processes to be used (min. 1). This operator is not parallel, so the only possible value is 1.
  • sessionid: session identifier used server-side to manage sessions and jobs. Usually, users don’t need to use/modify it, except when it is necessary to create a new session or switch to another one.
  • objkey_filter: filter on the output of the operator written to file (default=all => no filter, none => no output, loggingbk => shows operator’s output table).


Get sessionid (with session label), session creation date, job id (with parent job id if present), workflowid, markerid, job submission date, job status, job submission string, job start date and job end date. Filters select all sessions created between 1900 and 2100, with jobs submitted between 1900 and 2100, started since 1900 and terminated up to 2100:

[OPH_TERM] >>  oph_loggingbk session_level=1;job_level=2;mask=111;session_filter=all;session_creation_filter=1900-01-01 00:00:00,2100-01-01 00:00:00;markerid_filter=all;parent_job_filter=all;job_creation_filter=1900,2100;job_status_filter=all;submission_string_filter=all;job_start_filter=1900-01,;job_end_filter=,2100-01-01;


Argument name Type Mandatory Values Default Min/Max-value
session_level “int” “no” “0|1” “0” “0” / “1”
job_level “int” “no” “0|1|2” “0” “0” / “2”
mask “string” “no”   “000”  
session_filter “string” “no”   “all”  
session_label_filter “string” “no”   “all”  
session_creation_filter “string” “no”   “1900-01-01 00:00:00,2100 -01-01 00:00:00”  
workflowid_filter “string” “no”   “all”  
markerid_filter “string” “no”   “all”  
parent_job_filter “string” “no”   “all”  
job_creation_filter “string” “no”   “1900-01-01 00:00:00,2100 -01-01 00:00:00”  
job_status_filter “string” “no”   “all”  
submission_string_filter “string” “no”   “all”  
job_start_filter “string” “no”   “1900-01-01 00:00:00,2100 -01-01 00:00:00”  
job_end_filter “string” “no”   “1900-01-01 00:00:00,2100 -01-01 00:00:00”  
nlines “int” “no”   “100” “1” / “10000”
exec_mode “string” “no” “async|sync” “async”  
sessionid “string” “no”   “null”  
ncores “int” “no”   “1” “1” / “1”
objkey_filter “string” “no” “all|none|loggingbk” “all”