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
This commit is contained in:
parent
4adbafd19f
commit
a4f4e8fd39
|
@ -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:
|
||||||
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:
|
||||||
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:
|
||||||
|
|
|
@ -1,4 +1,8 @@
|
||||||
input {
|
input {
|
||||||
|
beats {
|
||||||
|
port => 5044
|
||||||
|
}
|
||||||
|
|
||||||
tcp {
|
tcp {
|
||||||
port => 5000
|
port => 5000
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue