-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
feature: tag events that come from a filestream with take_over: true
#39828
feature: tag events that come from a filestream with take_over: true
#39828
Conversation
This pull request does not have a backport label.
To fixup this pull request, you need to add the backport labels for the needed
|
Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane) |
36b5fb7
to
f43ee50
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great job @VihasMakwana!
The change log entry is also missing.
f43ee50
to
5b6d5cc
Compare
Co-authored-by: Tiago Queiroz <[email protected]>
@VihasMakwana great work! Could you please attach a screenshot to the PR description that shows Kibana with events filtered by the new tag (for historical purposes). |
This pull request is now in conflicts. Could you fix it? 🙏
|
@rdner Here's a screenshot of filter: |
This is more of a comment for the original issue than the PR itself, but do we really need this on every event? There is a storage cost associated adding instrumentation fields like this, and this will be going on potentially one of the highest volume event sources we have (logs). I also highly suspect this field is only useful around the time take over is first enabled, and after the transition period it likely has low value. |
In that case, it might make sense to add a flag e.g. "tag_events: true" for take over. |
@cmacknz this will mark events only when the Also, the |
Maybe we can add a step 4 to make it obvious that the user needs to remove the flag? |
@pierrehilbert yeah, I think we should update the docs and tell the users that once they ran a filestream input in @VihasMakwana is that something you would be able to add to the docs as a follow up PR? |
Sure, I would open up another PR for this soon. |
Follow up docs PR: #39863 |
Proposed commit message
Tag events that come from a filestream with
take_over: true
.Add appropriate test cases.
Checklist
CHANGELOG.next.asciidoc
orCHANGELOG-developer.next.asciidoc
.How to test this PR locally
Related issues
Use cases
From #34894,
Kibana Screenshot with filter