Is there a way to add log.origin… in default Elastic as not nested?
I am trying to add log.origin values to my json when logging. I am using default Elastic encoder co.elastic.logging.logback.EcsEncoder
. I’ve successfully added it using <includeCallerData>true</includeCallerData>
, but I would like to add it as new fields. This options adds it as nested object.