Skip to content

Remove file source additional context text #21705

Answered by pront
itayvolo asked this question in Q&A
Discussion options

You must be logged in to vote

No, metadata are added to all events. See here. It's an interesting topic though, I can see how event modifications can be surprising.

So you will have to use remap to control what you send to your sinks.

If you are interested you can try:

schema:
  log_namespace: true

Then the metadata will go to a dedicated namespace. Then the output will be exactly what you see in your source file. See details here.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@itayvolo
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by pront
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants