mirror of
https://github.com/ansible/awx.git
synced 2026-02-16 10:40:01 -03:30
record the parent WFJ ID for job events that originate from a WFJT
This commit is contained in:
@@ -184,6 +184,8 @@ class LogstashFormatter(LogstashFormatterBase):
|
||||
data_for_log[key] = 'Exception `{}` producing field'.format(e)
|
||||
|
||||
data_for_log['event_display'] = job_event.get_event_display2()
|
||||
if hasattr(job_event, 'workflow_job_id'):
|
||||
data_for_log['workflow_job_id'] = job_event.workflow_job_id
|
||||
|
||||
elif kind == 'system_tracking':
|
||||
data.pop('ansible_python_version', None)
|
||||
|
||||
Reference in New Issue
Block a user