Dang Huy Nguyen
09/01/2025, 10:31 AMk8s.namespace.name
not found
Supposed root cause: some log records do not have this field and got this error.
Expected behavior: default value for the key is empty and perform search on record that match key and value.
Reference: https://signoz.io/docs/userguide/search-troubleshooting/#key-fieldname-not-foundDang Huy Nguyen
09/03/2025, 2:35 AMk8s.namespace.name
and service.name
?Kieran Pilkington
09/03/2025, 4:09 AMDang Huy Nguyen
09/03/2025, 4:10 AMDang Huy Nguyen
09/03/2025, 4:39 AMSrikanth Chekuri
09/03/2025, 5:00 AMlog.file_path
not working. In your case, there is no data with the key k8s.namespace.name
. This is why you are getting the error.
default value for the key is empty and perform search on record that match key and valueSince there is no such key in the data, it won't even perform search. It the past we used perform search and silently return no data even if the key doesn't exist. That was not a good choice because it hides the problems. We want to solve the "telemetry drift" and this is the first step.
Srikanth Chekuri
09/03/2025, 5:02 AMSupposed root cause: some log records do not have this field and got this error.If you read the docs and interpreted it as some log records, then I will make it more explicit. This is not some log records. It is that "The specified field doesn't exist in your telemetry data" ever.
Dang Huy Nguyen
09/03/2025, 5:08 AMSELECT COUNT(*)
FROM signoz_logs.distributed_logs_v2
WHERE resources_string['k8s.namespace.name'] != '';
Response:
58432117
Dang Huy Nguyen
09/03/2025, 5:08 AMSrikanth Chekuri
09/03/2025, 5:10 AMdistributed_attribute_keys
and distributed_resource_keys
table, they should contain all the keys. If a key is not present there then it will throw error.Dang Huy Nguyen
09/03/2025, 5:14 AMdistributed_resource_keys
table contains all key now. I will monitor behavior to see if the issue happens againDang Huy Nguyen
09/18/2025, 8:23 AMSELECT * FROM signoz_logs.distributed_logs_resource_keys
name datatype
k8s.cronjob.name string
service.version string
Dang Huy Nguyen
09/18/2025, 12:04 PMSrikanth Chekuri
09/18/2025, 2:20 PMDang Huy Nguyen
09/19/2025, 1:46 AMSrikanth Chekuri
09/19/2025, 9:08 AM