You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
If you are interested in working on this issue or have submitted a pull request, please leave a comment
Problem
It is supported to provide "" or None as a path to a key, and can be used by the other members of the log_schema configuration. It's not likely to be a useful (or often used) setting to not include the "message" but panicking on it is probably not desirable.
Especially given the log namespace feature where "message" isn't necessarily going to exist in the Vector namespace, while the Legacy namespace requires a "message" key.
Configuration
data_dir = "/var/lib/vector/"
[log_schema]
message_key = ""
[sources.source0]
format = "json"
type = "demo_logs"
[sinks.sink0]
inputs = ["source0"]
target = "stdout"
type = "console"
[sinks.sink0.encoding]
codec = "json"
A note for the community
Problem
It is supported to provide
""
orNone
as a path to a key, and can be used by the other members of thelog_schema
configuration. It's not likely to be a useful (or often used) setting to not include the "message" but panicking on it is probably not desirable.Especially given the log namespace feature where "message" isn't necessarily going to exist in the Vector namespace, while the Legacy namespace requires a "message" key.
Configuration
Version
vector 0.31.0 (x86_64-apple-darwin 0f13b22 2023-07-06 13:52:34.591204470)
Debug Output
Example Data
No response
Additional Context
No response
References
No response
The text was updated successfully, but these errors were encountered: