Created
December 17, 2020 17:16
-
-
Save a1git/7232afe07f46474d5370113d609b9385 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
setup graylog, following documentaton. | |
create a new stream for openstack logs, select udp .. any port, example here is 11514 | |
in user_variables,put | |
rsyslog_client_enabled: true | |
rsyslog_client_user_defined_targets: | |
- name: "graylog" | |
proto: "udp" | |
port: "11514" | |
hostname: "172.29.236.8" | |
template: '$template GRAYLOGRFC5424,"<%pri%>%protocol-version% %timestamp:::date-rfc3339% %HOSTNAME% %app-name% %procid% %msg%\n"' | |
action_options: 'GRAYLOGRFC5424' | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment