-
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
Add event.dataset to events from cloudfoundry filebeat input #17029
Add event.dataset to events from cloudfoundry filebeat input #17029
Conversation
Pinging @elastic/integrations-platforms (Team:Platforms) |
9b150fd
to
f1098ef
Compare
I think that Filebeat inputs don't set If we inclue this change we also have to think:
Maybe as an alternative, we can set for this case |
@jsoriano The field is trying to get the same field that metricbeat uses, instead of 2 different fields If If the module is a no and don't want to set the |
Yes, the problem I see is that filebeat uses
In the case of azure or AWS there are filesets for specific services or kinds of logs, could something like this make sense on cloudfoundry? In that case I think we could have a cloudfoundry module to collect data about cloudfoundry itself. Also take into account that filebeat modules allow to override their inputs, so you could use for example the redis module with the S3 input (for logs stored in S3), in this case If the cloudfoundry input can collect plain logs from services deployed there we could also use the redis module with this input, in this case
Yeah, I think that having a module for the use case of collecting data about cloudfoundry itself can make sense.
If there are different kinds of events collected by the same input it can make sense to have a field specific for this input, like |
f1098ef
to
66cfd29
Compare
@jsoriano Now that I understand better that the I think this actually makes the most sense from the input and will be shared with the module in metricbeat as well. It's ready for another look. |
@jsoriano Fixed, ready for another review. |
What does this PR do?
Adds
event.dataset
to events generated by thecloudfoundry
filebeat input. This is so the events match the same format that metricbeat automatically sets for events.Why is it important?
Helps with filtering and building dashboards for cloudfoundry.
Checklist
I have made corresponding changes to the documentationI have made corresponding change to the default configuration filesI have added tests that prove my fix is effective or that my feature worksAuthor's Checklist
How to test this PR locally
Related issues
Use cases
Screenshots
Logs