[Stack Monitoring] Kibana log showing field [json] doesn't exist
in error.message
field
#34210
Labels
bug
Feature:Stack Monitoring
Module:kibana
Kibana Beats modules
Team:Infra Monitoring UI - DEPRECATED
Infrastructure Monitoring UI team - DEPRECATED - Use Team:Monitoring
v8.7.0
Summary
A change was introduced to Kibana log ingest pipeline, to fix a problem in which the pipeline was not considering fields included in the module configuration.
After this change, if a user sets
json.keys_under_root
istrue
in the module configuration, it will make the pipeline fail.Details
This happens because:
json.keys_under_root: true
is present in the module configuration, it will move all attributes present inmessage
to the object rootmessage
into an object namedjson
,message
will already be emptyjson
is empty. so it will default topipeline-7
(causing ECS formatted logs to fail)Side note: even with the
error.message
the error mentioned, Logs UI will look OK, because the log ingested is ECS formatted.Acceptance criteria
json.keys_under_root: true
in the module configuration.The text was updated successfully, but these errors were encountered: