Closed mt54636 closed 6 years ago
@mtalebi May I know more about your use case with the proposed format (save message size? or something else)? There could be potential conflict on the keys with the attributes (source, tag, etc) in this way.
Note that you can configure it in splunk with props and transform too.
@mtalebi @sharonx - Closing due to inactivity.
This feature is especially important for enterprises, who cannot easily configure these server-side options per team, and often have multiple different log sources each with their own structure (e.g. fluentd on k8s ships the log message under an attribute named "log" instead of "line").
It is simpler to govern log format consistency upstream, i.e. before the log is emitted to stdout/err.
@dtregonning Could this issue be reopened? To my knowledge, Splunk doesn't support expanding nested JSON by default, so we'd need to manually click to expand each line
field to view the message. Is there any workaround for this? As @cruisehall mentioned, those of us working within an enterprise do not always have the proper access to configure server-side transforms as suggested.
It would be nice to have format options, so we can store json logs in the root level.
Instead of:
We could instead have: