Sha256: 4defd858b2e9591583c956732d649e09cd0dcf53e2d84cf7e6461d2dcb2a3df6

Contents?: true

Size: 889 Bytes

Versions: 5

Compression:

Stored size: 889 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:
    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:
    flush_interval 1s # slack API has limit as a post / sec
  </match>
</label>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
daioikachan-0.0.5 examples/multi_slack.conf
daioikachan-0.0.4 examples/multi_slack.conf
daioikachan-0.0.3 examples/multi_slack.conf
daioikachan-0.0.2 examples/multi_slack.conf
daioikachan-0.0.1 examples/multi_slack.conf