-
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
Nats Filebeat #10514
Nats Filebeat #10514
Conversation
Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually? |
@ChrsMark Thanks for opening this WIP PR. Let me know if you some assistance on how to work with the test log files and how to generate the expected json outputs. |
jenkins, test this |
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.
Left a few minor comments, almost there.
@ruflin I believe we have addressed the open issues in this PR. In another upcoming PR we are planning to add more fields and also the dashboard. |
jenkins, test this |
@ruflin made an attempt to address the last comments, feel free! |
jenkins, test this |
@ChrsMark PR looks good to me but something is odd with CI. Could you rebase on master? |
@ruflin done |
Part of #10071 Completion Status
Kibana dashboard will be included along with the more fields PR. (we need to enrich the grok patterns so as to extract more info from the messages). |
Is the CI failure relevant? 🤔 |
Hm, lots of stuff failed that I have never seen failing before. Seems like something odd happened here. Can you rebase on master? And perhaps wait until #10723 is merged as otherwise the build would fail. |
Even though, I rebased after #10723 was merged nothing changed. Seeing the travis' details I notice two filebeat jobs to be failing. Diving into the first one (filebeat testsuite) I see that not only nats module is failing but also some others too. I'm wondering if removing the fields as discussed previously may cause the problem but this does not explain the other modules' failures. In addition, @skatsaounis informed me that he had trouble in running locally the nose tests cause of some incompatibility errors with elasticsearch. 🤔 Anyway, if we could check something on our end @ruflin feel free to mention! |
Checked out the branch locally and I think I found a fix (see comment above). @skatsaounis Could you share a bit more on the problems you run into? Which version of ES did you use? In |
@ruflin I would like to shed some light into how I am testing locally. I have a docker compose file which uses 6.6.0 elasticsearch and kibana. Then, I am running the tests with this deployment up and running. Good to know that The problem I face with my setup is that the filebeat-test-modules index is not created. Thus, I am receiving a timeout from the python test when waiting for the index. This is happening with every module and fileset. Weird fact: When I initially produced the expected file (couple of commits before) I was using the same way to run the tests and I was able to run them without problem. Irrelevant (or not): I tried to use 7.0.0-SNAPSHOT version like Travis, but I failed to configure it correctly, so I cannot work with it. |
Signed-off-by: Chris <[email protected]>
Signed-off-by: Chris <[email protected]>
Signed-off-by: Chris <[email protected]>
Signed-off-by: Michael Katsoulis <[email protected]>
Signed-off-by: Michael Katsoulis <[email protected]>
Signed-off-by: Chris <[email protected]>
Signed-off-by: Chris <[email protected]>
Different versions of the Elastic Stack might output a bit different data structures. Because of this it's important to use the exact same version for testing. This does not explain on why it was hanging. Did you have geoip and user_agent installed which is still needed in 6.6? Having said all this, you should be save with |
jenkins, test this |
@ruflin, mergable? |
@ChrsMark YES. Thanks. |
Nats Filebeat implementation
Co-Authored-By: Stamatis Katsaounis [email protected]
Co-Authored-By: Michael Katsoulis [email protected]