This is a known issue impacting vRealize Log Insight. Currently, there is no resolution.
Workaround:
To workaround this issue, remove the old mapping information from the Cassandra table.
- Log into the Primary node as root via SSH or Console, pressing ALT+F1 in a Console to log in.
- Follow How to Access the Cassandra Database in vRealize Log Insight (57901) to log into the Cassandra database.
- Run the following command to display information associated with the problematic ESXi host in the inventory.inv_clients_v2 table:
select * from inventory.inv_clients_v2 WHERE hostname='problematic_host' ALLOW FILTERING;
Note: Replace problematic_host with the hostname of the ESXi host showing the incorrect tag value.
- From the displayed filtered table find the row which contains the old tag information in the id column and remove it using following command:
DELETE from inventory.inv_clients_v2 WHERE id='id' AND bucket=bucket;
Note: Replace id with the id of the row, and bucket with the bucket value of the row from the displayed filtered table.
- Repeat steps 3 and 4 for all other problematic ESXi hosts.
After this, newly arrived ESXi logs will display the correct tag.