shwstppr commented on pull request #5227:
URL: https://github.com/apache/cloudstack/pull/5227#issuecomment-890793820
@ravening sorry for not being able to understand but how this will help
admins against adding source host details for event entries?
Even with changes admin will have to use SQL query. Similar details can be
fetched using `event` table as well and changes can be made to add source host
in the event description:
```
> SELECT * FROM event WHERE description LIKE '%VM Id: 104%' AND
type='VM.MIGRATE' ORDER BY id DESC\G
*************************** 1. row ***************************
id: 7114
uuid: 0a63c788-7ee9-4612-81ad-57c45bc0d54c
type: VM.MIGRATE
state: Completed
description: Successfully completed migrating VM. VM Id: 104 to host Id: 2
user_id: 2
account_id: 2
domain_id: 1
created: 2021-08-02 07:11:41
level: INFO
start_id: 7112
parameters: NULL
archived: 0
display: 1
*************************** 2. row ***************************
id: 7113
uuid: 0b23a367-2187-4415-a7c9-624b8e956733
type: VM.MIGRATE
state: Started
description: migrating VM. VM Id: 104 to host Id: 2
user_id: 2
account_id: 2
domain_id: 1
created: 2021-08-02 07:11:27
level: INFO
start_id: 7112
parameters: NULL
archived: 0
display: 1
*************************** 3. row ***************************
id: 7112
uuid: 98c658eb-5fed-4f27-b94b-cac85c9e612a
type: VM.MIGRATE
state: Scheduled
description: Attempting to migrate VM id: 104 to host Id: 2
user_id: 2
account_id: 2
domain_id: 1
created: 2021-08-02 07:11:27
level: INFO
start_id: 0
parameters: NULL
archived: 0
display: 1
```
Also, why names of hosts and IDs?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]