A change made to Logs Explorer resource types caused problems with IoT Core Logging starting on May 28, 2024 blocking of IoT Core logs flowing. ClearBlade was not informed prior to this change. Official Google documentation lists cloudiot_device
as a valid resource type. After communicating with Google it was recommended that ClearBlade fully drop the use of the IoT Core resource usage types.
On June 3rd, ClearBlade rolled out a fix to all regions by replacing the resource type cloudiot_device
with global
. Logs immediately appeared as devices reconnected.
Going forward users should be aware of the following when querying their Google logs:
resource.type="cloudiot_device"
will have to be replaced by resource.type="global"
.resource.labels
used to contain 4 items:project_id
device_registry_id
location
device_num_id
project_id
. The contents of jsonPayload.resourceName
is of the format projects/{projectId}/locations/{location}/registries/{registryId}/devices/{device_num_id}
. The jsonPayload.resourceName
can be parsed to obtain the items that are now missing missing from resource.labels
.Clicking “View Logs” from the IoT Core user interface still includes the incorrect resource type. This is planned to be fixed on the next scheduled upgrade.