-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Global options for schema field names (message, host, timestamp, etc) #1446
Comments
@a-rodin I'm moving this into your data processing project as a low priority item. If we can get to it, great, otherwise we can defer it. But I do think this is related to data processing since it deals with the data model. |
So this change has some interesting user experience implications! Let's say a user has a service feeding them some data with the Consider when that user goes to use a new source, they'll find that despite the fact that this new source is the known Journald source, their So in this case they'll then need to go configure the specific source and remove this global option. Since source configurations do not always have these three settings, they'll find inconsistencies. Let's say a user is using this configuration and they output to a sink upstream that expects this input format. They then add a new sink, and this sink expects On a more technical note, we do have code like this that would definitely become more challenging: But I don't think those offer huge barriers. I can definitely see valid use cases from this, but I can also see that this is essentially a Or maybe I'm not getting something? |
That makes sense, and for fields that the user controls a I was mostly referring to fields we set, not fields we receive as part of a structured event. For example, notice in the Does that help? |
@binarylogic So like in #1769? |
Closed via #1446 |
This is a simple change that allows a user to change the defaults for the common field names, such as a
host
,timestamp
, andmessage
.Example
In the
vector.toml
file a user could specify these as top-level options:Requirements
message
field should use themessage_key
setting.timestamp
key for partittioning or other means s hould use thetimestamp_key
variable.The text was updated successfully, but these errors were encountered: