Step1: Configure input on Graylog-web
Step 2: Configure on centos: /etc/rsyslog.conf
$template GRAYLOGRFC5424,"<%PRI%>%PROTOCOL-VERSION% %TIMESTAMP:::date-rfc3339% %HOSTNAME% %APP-NAME% %PROCID% %MSGID% %STRUCTURED-DATA% %msg%\n"
*.* @192.168.221.135:5014
No comments:
Post a Comment