switch to filebeats input
This commit is contained in:
parent
8392234229
commit
e7b034b960
|
@ -1,7 +0,0 @@
|
||||||
input {
|
|
||||||
udp {
|
|
||||||
port => 10514
|
|
||||||
type => "syslog"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
input {
|
||||||
|
beats {
|
||||||
|
port => 5044
|
||||||
|
ssl => false
|
||||||
|
}
|
||||||
|
}
|
|
@ -17,8 +17,10 @@ RUN mkdir -p /usr/share/GeoIP && \
|
||||||
WORKDIR ${LOGSTASH_HOME}
|
WORKDIR ${LOGSTASH_HOME}
|
||||||
RUN gosu logstash bin/logstash-plugin install --local --no-verify logstash-filter-geoip
|
RUN gosu logstash bin/logstash-plugin install --local --no-verify logstash-filter-geoip
|
||||||
|
|
||||||
# add mailserver listen
|
# override beats input
|
||||||
ADD 01-mailserver.conf /etc/logstash/conf.d/
|
ADD 02-beats-input.conf /etc/logstash/conf.d/
|
||||||
# override syslog
|
# override syslog
|
||||||
ADD 10-syslog.conf /etc/logstash/conf.d/
|
ADD 10-syslog.conf /etc/logstash/conf.d/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue