Skip to content
This repository was archived by the owner on Jun 9, 2023. It is now read-only.

Commit 31f1069

Browse files
committed
Update install_graylog2_20_ubuntu.sh
1 parent 23356bd commit 31f1069

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install_graylog2_20_ubuntu.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ sed -i -e 's|#$InputTCPServerRun 514|$InputTCPServerRun 514|' /etc/rsyslog.conf
310310
sed -i -e 's|*.*;auth,authpriv.none|#*.*;auth,authpriv.none|' /etc/rsyslog.d/50-default.conf
311311
echo '$template GRAYLOG2,"<%PRI%>1 %timegenerated:::date-rfc3339% %hostname% %syslogtag% - %APP-NAME%: %msg:::drop-last-lf%\n"' | tee /etc/rsyslog.d/32-graylog2.conf
312312
echo '$ActionForwardDefaultTemplate GRAYLOG2' | tee -a /etc/rsyslog.d/32-graylog2.conf
313-
# echo '$PreserveFQDN on' | tee -a /etc/rsyslog.d/32-graylog2.conf
313+
echo '$PreserveFQDN on' | tee -a /etc/rsyslog.d/32-graylog2.conf
314314
echo '*.info @localhost:10514' | tee -a /etc/rsyslog.d/32-graylog2.conf
315315
sed -i -e 's|graylog2-server.uris=""|graylog2-server.uris="http://127.0.0.1:12900/"|' /opt/graylog2-web-interface/conf/graylog2-web-interface.conf
316316
app_secret=$(pwgen -s 96)

0 commit comments

Comments
 (0)