You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/ # rsyslogd -v
rsyslogd 8.9.0, compiled with:
PLATFORM: x86_64-alpine-linux-musl
PLATFORM (lsb_release -d):
FEATURE_REGEXP: Yes
GSSAPI Kerberos 5 support: No
FEATURE_DEBUG (debug build, slow code): No
32bit Atomic operations supported: Yes
64bit Atomic operations supported: Yes
memory allocator: system default
Runtime Instrumentation (slow code): No
uuid support: Yes
Number of Bits in RainerScript integers: 64
See http://www.rsyslog.com for more information.
Rsyslog configuration
/ # cat /etc/rsyslog.conf
# Input modules
$ModLoad immark.so # provide --MARK-- message capability
$ModLoad imuxsock.so # provide local system logging (e.g. via logger command)
$ModLoad imudp # provides UDP syslog reception
$ModLoad imtcp # provides TCP syslog reception
# Output modules
$ModLoad omstdout.so # provide messages to stdout
# Loggly template format
$template LogglyFormat,"<%pri%>%protocol-version% %timestamp:::date-rfc3339% %HOSTNAME% %app-name% %procid% %msgid% [token-removed-for-posting@41058 tag=\"ript-api-server\"] %msg%\n"
# Setup disk assisted queues. An on-disk queue is created for this action.
# If the remote host is down, messages are spooled to disk and sent when
# it is up again.
$WorkDirectory /var/spool/rsyslog # where to place spool files
$ActionQueueFileName fwdRule1 # unique name prefix for spool files
$ActionQueueMaxDiskSpace 1g # 1gb space limit (use as much as possible)
$ActionQueueSaveOnShutdown on # save messages to disk on shutdown
$ActionQueueType LinkedList # run asynchronously
$ActionResumeRetryCount -1 # infinite retries if host is down
#RsyslogGnuTLS
$DefaultNetstreamDriverCAFile /etc/rsyslog.d/keys/ca.d/loggly.crt
$ActionSendStreamDriver gtls
$ActionSendStreamDriverMode 1
$ActionSendStreamDriverAuthMode x509/name
$ActionSendStreamDriverPermittedPeer *.loggly.com
# Send everything to Loggly over TLS
*.* @@logs-01.loggly.com:6514;LogglyFormat
# TCP Syslog Server
$InputTCPServerRun 514 # start a TCP syslog server at standard port 514
# UDP Syslog Server
$UDPServerRun 514 # start a UDP syslog server at standard port 514
It will be helpful to update the configuration and release the updated container.
Thanks.
The text was updated successfully, but these errors were encountered:
I was getting error while sending server log using loggly container. The error is
I logged into the container and found out that it is not using the updated configuration for rsyslog as mentioned in the documentation, https://www.loggly.com/docs/rsyslog-tls-configuration/
Linux release information
Rsyslog version
Rsyslog configuration
It will be helpful to update the configuration and release the updated container.
Thanks.
The text was updated successfully, but these errors were encountered: