Skip to content
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

[DOC] Add firewall as possible troubleshooting issue #21743

Merged
merged 6 commits into from
Oct 21, 2020
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions libbeat/docs/shared-faq.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,23 @@ connect to the Lumberjack input plugin. To learn how to install and update
plugins, see {logstash-ref}/working-with-plugins.html[Working with plugins].
endif::[]

ifndef::no-output-logstash[]
[[disconnections-problem]]
=== {beatname_uc} reports connections being reset by {ls}
dedemorton marked this conversation as resolved.
Show resolved Hide resolved
dedemorton marked this conversation as resolved.
Show resolved Hide resolved

If you see errors such as:
lucabelluccini marked this conversation as resolved.
Show resolved Hide resolved
[source,shell]
----------------------------------------------------------------------
Failed to publish events caused by: write tcp ... write: connection reset by peer
----------------------------------------------------------------------

It is possible a firewall might be interfering with the connection between {beatname_uc} and {ls} (it is a persistent TCP connection).
lucabelluccini marked this conversation as resolved.
Show resolved Hide resolved

You can solve the problem making sure the firewall is not closing connections between {beatname_uc} and {ls} or configuring the {ls}
output adding a `ttl` value lower than the maximum allowed time by the firewall and `pipelining` set to 0 (as pipelining cannot be enabled
when `ttl` is used).
lucabelluccini marked this conversation as resolved.
Show resolved Hide resolved
endif::[]

ifndef::no-output-logstash[]
[[metadata-missing]]
=== @metadata is missing in {ls}
Expand Down