# AWX Logs - Not able to link schedule log with workflow Job

**URL:** <https://forum.ansible.com/t/awx-logs-not-able-to-link-schedule-log-with-workflow-job/33081>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [June 3, 2020, 9:19am UTC](https://forum.ansible.com/t/awx-logs-not-able-to-link-schedule-log-with-workflow-job/33081 "2020-06-03T09:19:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ajitkumar\_Tanwade](https://avatars.discourse-cdn.com/v4/letter/a/bbce88/32.png) [@Ajitkumar\_Tanwade](https://forum.ansible.com/u/Ajitkumar_Tanwade)\
**Post date:** [June 3, 2020, 9:19am UTC](https://forum.ansible.com/t/awx-logs-not-able-to-link-schedule-log-with-workflow-job/33081/1 "2020-06-03T09:19:16Z")

</div>

Hi All,

We are using AWX version 10.0.0.

We are not able to link the schedule with a workflow event. Please find below sample event

Schedule event  
{“@timestamp”: “2020-06-02T14:47:46.278Z”, “message”: “Activity Stream update entry for schedule”, “host”: “awx-0”, “level”: “INFO”, “logger\_name”: “awx.analytics.activity\_stream”, “stack\_info”: null, “changes”: {“rrule”: “DTSTART;TZID=Asia/Kolkata:20200602T201800 RRULE:FREQ=DAILY;INTERVAL=1;COUNT=1”, “name”: “Ajit Sch test”, “description”: “every day for 1 time”, “extra\_data”: “{}”, “inventory”: null, “scm\_branch”: null, “job\_type”: null, “job\_tags”: null, “skip\_tags”: null, “limit”: null, “diff\_mode”: null, “verbosity”: null, “unified\_job\_template”: “Workflow Test-10”, “enabled”: true, “id”: 6}, “relationship”: “”, “actor”: “admin”, “operation”: “create”, “object1”: “schedule”, “object2”: “”, “cluster\_host\_id”: “awx-0”, “tower\_uuid”: null}

Job event:  
{“@timestamp”: “2020-06-02T14:48:27.041Z”, “message”: “Event data saved.”, “host”: “”, “level”: “INFO”, “logger\_name”: “awx.analytics.job\_events”, “id”: null, “modified”: null, “event”: “verbose”, “event\_data”: {}, “failed”: false, “changed”: false, “uuid”: “b39d820f-d584-4163-aed6-5064a6bd01f3”, “playbook”: “”, “play”: “”, “role”: “”, “task”: “”, “counter”: 1, “stdout”: "SSH password: ", “verbosity”: 0, “start\_line”: 0, “end\_line”: 1, “created”: null, “job”: 39, “host\_name”: “”, “parent\_uuid”: “”, “event\_display”: “Verbose”, “workflow\_job\_id”: 38, “cluster\_host\_id”: “awx-0”, “tower\_uuid”: null}

{“@timestamp”: “2020-06-02T14:48:27.699Z”, “message”: “Event data saved.”, “host”: “”, “level”: “INFO”, “logger\_name”: “awx.analytics.job\_events”, “id”: null, “modified”: null, “event”: “playbook\_on\_start”, “event\_data”: {“playbook”: “create\_directory.yml”, “playbook\_uuid”: “6854d611-2c88-48af-9189-d261a0b94136”, “uuid”: “6854d611-2c88-48af-9189-d261a0b94136”}, “failed”: false, “changed”: false, “uuid”: “6854d611-2c88-48af-9189-d261a0b94136”, “playbook”: “create\_directory.yml”, “play”: “”, “role”: “”, “task”: “”, “counter”: 2, “stdout”: “”, “verbosity”: 0, “start\_line”: 1, “end\_line”: 1, “created”: “2020-06-02T14:48:27.000Z”, “job”: 39, “host\_name”: “”, “parent\_uuid”: “”, “event\_display”: “Playbook Started”, “workflow\_job\_id”: 38, “cluster\_host\_id”: “awx-0”, “tower\_uuid”: null}

Generally, when we run the workflows manually, it does create a event with Object1: Workflow\_Job, however with scheduled workflows, it is not generating this event, so we are not able to link the schedule with workflows. Please help

Regards,  
Ajit

---

<div class="post-metadata">

**Author:** ![Ajitkumar\_Tanwade](https://avatars.discourse-cdn.com/v4/letter/a/bbce88/32.png) [@Ajitkumar\_Tanwade](https://forum.ansible.com/u/Ajitkumar_Tanwade)\
**Post date:** [June 4, 2020, 3:40am UTC](https://forum.ansible.com/t/awx-logs-not-able-to-link-schedule-log-with-workflow-job/33081/2 "2020-06-04T03:40:55Z")

</div>

Hi All,

Tried with AWX version 11.0.0 as well. It is creating a workflow\_job object, however, not showing any link to schedule.

Schedule Object

{  
“object2” =\> “”,  
“changes” =\> {  
“rrule” =\> [  
[0] “DTSTART;TZID=Asia/Kolkata:20200603T205300 RRULE:FREQ=MINUTELY;INTERVAL=2”,  
[1] “DTSTART;TZID=Asia/Kolkata:20200603T215500 RRULE:FREQ=MINUTELY;INTERVAL=2”  
],  
“extra\_data” =\> [  
[0] “{}”,  
[1] “”  
]  
},  
“summary\_fields” =\> {  
“schedule” =\> [  
[0] {  
“id” =\> 8,  
“name” =\> “Ajit SCH test”,  
“description” =\> “”  
}  
],  
“workflow\_job\_template” =\> [  
[0] {  
“id” =\> 10,  
“name” =\> “Workflow Test - TTT”,  
“description” =\> “”  
}  
],  
“actor” =\> {  
“first\_name” =\> “”,  
“username” =\> “admin”,  
“id” =\> 1,  
“last\_name” =\> “”  
}  
},  
“level” =\> “INFO”,  
“operation” =\> “update”,  
“tower\_uuid” =\> nil,  
“object1” =\> “schedule”,  
“@version” =\> “1”,  
“stack\_info” =\> nil,  
“relationship” =\> “”,  
“@timestamp” =\> 2020-06-03T15:56:05.152Z,  
“message” =\> “Activity Stream update entry for schedule”,  
“actor” =\> “admin”,  
“headers” =\> {  
“http\_host” =\> “10.107.100.50:8080”,  
“content\_type” =\> “application/json; charset=utf-8”,  
“http\_user\_agent” =\> nil,  
“http\_accept” =\> “_/_”,  
“content\_length” =\> “831”,  
“http\_version” =\> “HTTP/1.1”,  
“request\_path” =\> “/”,  
“request\_method” =\> “POST”  
},  
“logger\_name” =\> “awx.analytics.activity\_stream”,  
“host” =\> “10.0.182.16”,  
“cluster\_host\_id” =\> “awx-84786965d-sztrh”  
}

Workflow\_job Object

{  
“object2” =\> “”,  
“changes” =\> {  
“allow\_simultaneous” =\> false,  
“is\_sliced\_job” =\> false,  
“webhook\_guid” =\> “”,  
“webhook\_service” =\> “”,  
“limit” =\> nil,  
“webhook\_credential” =\> nil,  
“description” =\> “”,  
“id” =\> 291,  
“extra\_vars” =\> “{}”,  
“name” =\> “Workflow Test - TTT”,  
“workflow\_job\_template” =\> “Workflow Test - TTT-10”,  
“inventory” =\> nil,  
“job\_template” =\> nil,  
“scm\_branch” =\> nil  
},  
“summary\_fields” =\> {  
“workflow\_job” =\> [  
[0] {  
“id” =\> 291,  
“name” =\> “Workflow Test - TTT”,  
“description” =\> “”  
}  
]  
},  
“level” =\> “INFO”,  
“operation” =\> “create”,  
“tower\_uuid” =\> nil,  
“object1” =\> “workflow\_job”,  
“@version” =\> “1”,  
“stack\_info” =\> nil,  
“relationship” =\> “”,  
“@timestamp” =\> 2020-06-03T16:00:01.718Z,  
“message” =\> “Activity Stream update entry for workflow\_job”,  
“actor” =\> nil,  
“headers” =\> {  
“http\_host” =\> “10.107.100.50:8080”,  
“content\_type” =\> “application/json; charset=utf-8”,  
“http\_user\_agent” =\> nil,  
“http\_accept” =\> “_/_”,  
“content\_length” =\> “826”,  
“http\_version” =\> “HTTP/1.1”,  
“request\_path” =\> “/”,  
“request\_method” =\> “POST”  
},  
“logger\_name” =\> “awx.analytics.activity\_stream”,  
“host” =\> “10.0.182.16”,  
“cluster\_host\_id” =\> “awx-84786965d-sztrh”  
}

Please help

Regards,  
Ajit
