Skip to content
This repository has been archived by the owner on May 16, 2023. It is now read-only.

Commit

Permalink
[filebeat][metricbeat] Update documentation on port collisions for mu…
Browse files Browse the repository at this point in the history
…ltiple beats agents with hostNetworking enabled. (#997) (#1010)

Co-authored-by: ksorensen@scramsystems.com <ksorensen@scramsystems.com>

Co-authored-by: kwsorensen <sorensenkw@gmail.com>
Co-authored-by: ksorensen@scramsystems.com <ksorensen@scramsystems.com>
  • Loading branch information
3 people authored Jan 6, 2021
1 parent 033f2a1 commit f42b2d7
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions filebeat/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,14 @@ namespace which gives it access to the host loopback device, services listening
on localhost, could be used to snoop on network activity of other pods on the
same node.

### How do I get multiple beats agents working with hostNetworking enabled?

The default http port for multiple beats agents may be on the same port, for
example, Filebeats and Metricbeats both default to 5066. When `hostNetworking`
is enabled this will cause collisions when standing up the http server. The work
around for this is to set `http.port` in the config file for one of the beats agent
to use a different port.

### How to change readinessProbe for outputs which don't support testing

Some [Filebeat outputs][] like [Kafka output][] don't support testing using
Expand Down
8 changes: 8 additions & 0 deletions metricbeat/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,14 @@ namespace which gives it access to the host loopback device, services listening
on localhost, could be used to snoop on network activity of other pods on the
same node.

### How do I get multiple beats agents working with hostNetworking enabled?

The default http port for multiple beats agents may be on the same port, for
example, Filebeats and Metricbeats both default to 5066. When `hostNetworking`
is enabled this will cause collisions when standing up the http server. The work
around for this is to set `http.port` in the config file for one of the beats agent
to use a different port.


## Contributing

Expand Down

0 comments on commit f42b2d7

Please sign in to comment.