Skip to content

Set rsyslog queue types#479

Merged
und1sk0 merged 7 commits intomasterfrom
set-rsyslog-queue-types
Jun 2, 2016
Merged

Set rsyslog queue types#479
und1sk0 merged 7 commits intomasterfrom
set-rsyslog-queue-types

Conversation

@und1sk0
Copy link
Copy Markdown
Contributor

@und1sk0 und1sk0 commented May 25, 2016

  • set the MainMsg stream to unbuffered (QueueType = Direct), set the Action stream to unbuffered for writes to the FS, to "LinkedList" for writes to Loggly.
  • Fairly serious typo in the Loggly formatter template string, but non-breaking (unprocessed log entries go to Loggly regardless as a catch-all)
  • Unbuffered after Loggly.

Dependencies

  • must be up to date on loggly / rsyslog config
  • deployment should include additional spot-check for stale configuration files (eg, /etc/rsyslog.d/21-filemonitor*conf) and remove them prior to restarting rsyslogd.

Reviewers

Tests

Test any modifications on one of our environments.

Deployment (post-merge)

Ensure that all environments have the given changes.

  • deployed to epsilon
  • deployed to gamma
  • deployed to delta

@und1sk0 und1sk0 added the review label May 25, 2016
Christopher M. Neill added 2 commits May 25, 2016 15:18

# Loggly: Add a tag for {{ name }} events
$template LogglyFormat_{{ name }},"<%pri%>%protocol-version% %timestamp:::date-rfc3339% %HOSTNAME% %app-name% %procid% %syslogtagid% [{{ loggly_token }}@41058 tag=\"runnable\" tag=\"{{ node_env }}\"] %syslogtag%\n"
$ActionQueueType LinkedList
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is an in-memory queue.

@anandkumarpatel
Copy link
Copy Markdown

dont know what all these commands mean, but it looks good if they do what i think they do

@und1sk0
Copy link
Copy Markdown
Contributor Author

und1sk0 commented May 25, 2016

@anandkumarpatel lets let it soak overnight in gamma and epsilon

@und1sk0 und1sk0 merged commit 03fadb2 into master Jun 2, 2016
@und1sk0 und1sk0 deleted the set-rsyslog-queue-types branch June 2, 2016 22:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants