Skip to content
This repository was archived by the owner on May 12, 2026. It is now read-only.

Send syslog hostname, programname and pid (if available) - #14

Open
guss77 wants to merge 1 commit into
app-sre:masterfrom
cloudonix:feature/log-details
Open

Send syslog hostname, programname and pid (if available)#14
guss77 wants to merge 1 commit into
app-sre:masterfrom
cloudonix:feature/log-details

Conversation

@guss77

@guss77 guss77 commented May 24, 2021

Copy link
Copy Markdown

When forwarding syslog messages to Cloudwatch we often want to ship all the logs generated on the machine, at which point it becomes problematic that the bridge only sends the message content without any of the metadata - such as program name.

This PR replaces the simplistic "choose the correct message content" code with a more complex formatting function that tries to produce a text line similar to what system log files have.

… to the message itself - to cloudwatch, because we need all of those
@app-sre-bot

Copy link
Copy Markdown
Collaborator

Can one of the admins verify this patch?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants