IBM Cloud Docs
Override the default severity field

Override the default severity field

When you deploy or upgrade the Logging agent, you can configure the logs-values.yaml file to set severityFieldName to override the default severity field that is sent to IBM Cloud Logs.

Use this option if your log messages use a non-standard field name (for example, Log_Level, logSeverity, and so on) to indicate severity.

When configured:

  • A new filter is added to the pipeline.
  • This filter injects a severity field into each log record.
  • The value of severity is populated from the custom field you specify.
severityFieldName: Log_Level

After you modify the logs-values.yaml, you can Upgrade the agent or continue modifying the file before applying all the changes.