-
Notifications
You must be signed in to change notification settings - Fork 909
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
filebeat broken pipe #14
Comments
Hi, Nope, never seen these errors before I'm afraid (at least not using ELK and Beats). I tried to reproduce your issue (using Filebeat version 1.0.1), but to no avail: after I stop and start Filebeat and the container, everything's working normally (once Logstash is back up and running, of course). The only errors I got were when I started Filebeat without starting the container, which threw
and when I
… but both these behaviours are exactly the ones that would be expected (i.e. if the IP address or the TCP port is not available, then the connection fails), whereas in your case, the Anyway, could very well be an issue with the container, especially if you're seeing this only when you restart it, but I'd need more information to figure out if that's actually the case. If you could send me your Filebeat config, test log file and steps/commands to reproduce your issue, I'd be happy to do some more testing to investigate. |
Hi, so we're not using the certificate stuff and we do that by overriding your file as seen in dockerfile below.
|
I think we've narrowed it down to an invalid |
Well spotted! Yep, a broken regex would go towards explaining a few things. I tried using
So far so good... but as a side effect, Logstash terminates on the spot (fair enough I suppose), thus breaking the pipe that was established by Filebeat, which as a result now throws:
Another way of breaking the pipe between Filebeat and Logstash is to run the ELK container normally, and then So putting the pieces together, it all makes sense. What I find somewhat disconcerting is that Logstash is silently exiting without mentioning it anywhere. (I'm going out on a limb here as I'm not sure if this is related, but plugin failure and shutdown management seems to be a known Logstash issue/topic under discussion: elastic/logstash#2477) |
Hi,
This is probably not your issue so feel free to tell me to create an issue on the elastic filebeat repo.
I've had your docker image working and had filebeat working fine.
However after stopping filebeat and the docker container and starting it all up again, filebeat sees a file but then throws errors which I don't understand and was wondering if you'd seen it before?
The text was updated successfully, but these errors were encountered: