I recently started using stackdriver logging on my Kubernetes cluster. The service registers the json payload. In the stddriver protocol, I see that the json payload is being processed correctly, but everything has the severity of “ERROR”. This is not intended. Most of these logs are not errors. They also do not contain error fields or similar fields. Is there any way to tell stackdriver how to determine the severity of a log entry received from a logging agent in quaternets? Or do I need to somehow change my structured log output to make it more understandable?
Thanks in advance.
If you put a field severityin your JSON record, the Stackdriver registry agent should make this a serious record. Otherwise, it compresses the ERROR codes for stderrand INFO codes for stdout(for Kubernetes logs).
severity
stderr
stdout
Source: https://habr.com/ru/post/1016296/More articles:EF Linq to Entities, calling ToList () on a set of objects, generates an SQL command containing several left outer joins - c #Application Insights: Analytics - как извлечь строку в определенном месте - azurehttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1016293/access-token-is-invalid-error-in-spreadsheet-library-php&usg=ALkJrhhaxnGMq7xACrJCKSdcnlVcrJS_OAЕсть ли причина не отказываться от "вар"? - javascriptMake optional login in python - pythonWhat is the fastest indexing method for ElasticSearch - elasticsearchТрубопровод Дженкинса с параллельными - jenkinsWhat is meant by [if (! Defined ("ABSPATH"))] - phpФилиалы на конструкторе не включены - unit-testingPlan data-based reports and alerts in Amazon Quicksight - amazon-web-servicesAll Articles