[DOCS] Clarify behavior of copy fields processor#34798
Merged
dedemorton merged 3 commits intoelastic:mainfrom Apr 3, 2023
Merged
[DOCS] Clarify behavior of copy fields processor#34798dedemorton merged 3 commits intoelastic:mainfrom
dedemorton merged 3 commits intoelastic:mainfrom
Conversation
Contributor
|
This pull request does not have a backport label.
To fixup this pull request, you need to add the backport labels for the needed
|
Contributor
|
Pinging @elastic/obs-docs (Team:Docs) |
Contributor
Contributor
|
I think your correct, copy_fields apprends and not replace. |
Member
|
Hi @pierrehilbert - I do not know what this is referring to and I don't think I wrote anything regarding the |
pierrehilbert
approved these changes
Mar 27, 2023
mergify bot
pushed a commit
that referenced
this pull request
Apr 3, 2023
(cherry picked from commit 25acf60)
mergify bot
pushed a commit
that referenced
this pull request
Apr 3, 2023
(cherry picked from commit 25acf60)
mergify bot
pushed a commit
that referenced
this pull request
Apr 3, 2023
(cherry picked from commit 25acf60)
This was referenced Apr 3, 2023
dedemorton
added a commit
to elastic/observability-docs
that referenced
this pull request
Apr 3, 2023
Adds changes from elastic/beats#34798 to the Elastic Agent processor docs
dedemorton
added a commit
that referenced
this pull request
Apr 3, 2023
dedemorton
added a commit
that referenced
this pull request
Apr 3, 2023
dedemorton
added a commit
that referenced
this pull request
Apr 3, 2023
chrisberkhout
pushed a commit
that referenced
this pull request
Jun 1, 2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Makes it clear that user must drop or rename an existing field if they want to use copy_fields to replace the value.
This seems to be true based on the code here and some small tests I've run, but someone on the dev team needs to confirm the language.
The related issue also asks if conditions are supported. Since conditions are part of the processor syntax, I believe they are supported for all processors. Please confirm. On some pages, we show conditions in the example if the processor requires you to define a condition, so maybe that's the source of confusion.
Why is it important?
Users are confused.
Checklist
Related issues