Enable Logstash's Beats input by default

The configuration from the official Docker image includes it by default: https://github.com/elastic/logstash/blob/7.9/docker/data/logstash/pipeline/default.conf More information about the Beats input plugin: https://www.elastic.co/guide/en/logstash/current/plugins-inputs-beats.html
parent 4adbafd1
...@@ -70,6 +70,7 @@ Other available stack variants: ...@@ -70,6 +70,7 @@ Other available stack variants:
interact with the Docker daemon.* interact with the Docker daemon.*
By default, the stack exposes the following ports: By default, the stack exposes the following ports:
* 5044: Logstash Beats input
* 5000: Logstash TCP input * 5000: Logstash TCP input
* 9600: Logstash monitoring API * 9600: Logstash monitoring API
* 9200: Elasticsearch HTTP * 9200: Elasticsearch HTTP
......
...@@ -41,6 +41,7 @@ services: ...@@ -41,6 +41,7 @@ services:
target: /usr/share/logstash/pipeline target: /usr/share/logstash/pipeline
read_only: true read_only: true
ports: ports:
- "5044:5044"
- "5000:5000/tcp" - "5000:5000/tcp"
- "5000:5000/udp" - "5000:5000/udp"
- "9600:9600" - "9600:9600"
......
...@@ -27,6 +27,7 @@ services: ...@@ -27,6 +27,7 @@ services:
logstash: logstash:
image: docker.elastic.co/logstash/logstash:7.9.2 image: docker.elastic.co/logstash/logstash:7.9.2
ports: ports:
- "5044:5044"
- "5000:5000" - "5000:5000"
- "9600:9600" - "9600:9600"
configs: configs:
......
input { input {
beats {
port => 5044
}
tcp { tcp {
port => 5000 port => 5000
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment