Sha256: 45ca71640ab40b0b610838cd487d9dc2405a878420ccecadc2550aa832f7e591

Contents?: true

Size: 921 Bytes

Versions: 4

Compression:

Stored size: 921 Bytes

Contents

<source>
  type daioikachan
  bind 0.0.0.0
  port 4979
  min_threads 0
  max_threads 4
  backlog 1024
  @label @raw
</source>

<label @raw>
  <match **>
    type copy
    <store>
      type stdout
    </store>
    <store>
      type relabel
      @label @slack
    </store>
  </match>
</label>

<label @slack>
  # #fluentd_warn => team1.slack.com#general
  <match *.fluentd_warn>
    type slack
    token "#{ENV['TEAM1_TOKEN']}"
    username daioikachan
    channel general
    color bad
    icon_emoji :ghost:
    mrkdwn true
    flush_interval 1s # slack API has limit as a post / sec
  </match>
  # other channels => default_team.slack.com#${channel}
  <match **>
    type slack
    token "#{ENV['DEFAULT_TEAM_TOKEN']}"
    username daioikachan
    channel %s
    channel_keys channel
    color bad
    icon_emoji :ghost:
    mrkdwn true
    flush_interval 1s # slack API has limit as a post / sec
  </match>
</label>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
daioikachan-0.0.9 examples/multi_slack.conf
daioikachan-0.0.8 examples/multi_slack.conf
daioikachan-0.0.7 examples/multi_slack.conf
daioikachan-0.0.6 examples/multi_slack.conf