Ensure logstash listens on ipv4 address
Upgrading the ELK stack to 6.4.0 leaves logstash only listening on an ipv6 address and thereby unable to receive existing beats inputs. This change makes the jvm prefer binding to ipv4 addresses. Change-Id: I04a0fdbcb253a0a6a3bcc3759eb0b9d0f1962621
This commit is contained in:
parent
58a7e461ac
commit
1b267c475c
@ -83,5 +83,8 @@
|
||||
# ensure the directory exists
|
||||
#-Xloggc:${LS_GC_LOG_FILE}
|
||||
|
||||
#listen on IPv4 addresses
|
||||
-Djava.net.preferIPv4Stack=true
|
||||
|
||||
# Disable log4j because its not supported by elastic
|
||||
-Dlog4j2.disable.jmx=true
|
||||
|
Loading…
x
Reference in New Issue
Block a user