Skip to content

Unable to send syslog messages to graylog server #3663

Answered by nitrogene
nitrogene asked this question in Q&A
Discussion options

You must be logged in to vote

Hello,
I have found the reason. All my containers (including fluend and graylog) are using UTC Timezone, while the WSL2 shell I am using is Europe/Paris (UTC+1). So when I am executing the following command:

logger -n localhost --rfc5424 This is an awesome log line, yes?

It will generate a syslog message with a timestamp in the future (for graylog). Thus, the message will only appear after 1h.

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by nitrogene
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants