Skip to content

Instantly share code, notes, and snippets.

@suhanlee
Last active May 12, 2017 09:30
Show Gist options
  • Save suhanlee/b31297f43a0cba1fd0ba6190a6e35321 to your computer and use it in GitHub Desktop.
Save suhanlee/b31297f43a0cba1fd0ba6190a6e35321 to your computer and use it in GitHub Desktop.
fluentd/fluent.conf
<match slack>
@type slack
webhook_url https://hooks.slack.com/services/XXXXXXXX
channel logs
username suhanlee
icon_emoji :ghost:
flush_interval 60s
message_keys messages
</match>
<match rails>
@type copy
<store>
@type slack
webhook_url https://hooks.slack.com/services/XXXXXX
channel logs
username suhanlee
icon_emoji :ghost:
flush_interval 60s
message_keys messages
</store>
<store>
@type stdout
</store>
</match>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment