<source>
  @type dummy
  tag test
</source>
<source>
  @type dummy
  tag test2
</source>

<match test>
  @type forward
  flush_interval 0
  <security>
    self_hostname output.testing.local
    shared_key    secure_communication_is_awesome
  </security>
  <server>
    host 127.0.0.1
    port 24224
  </server>
</match>

<match test2>
  @type forward
  flush_interval 0
  <security>
    self_hostname output-fail.testing.local
    shared_key    secure_communication_is_not_awesome
    # input plugin shows warning for wrong shared_key
    # 2016-08-08 16:27:00 +0900 [warn]: Shared key mismatch address="127.0.0.1" hostname="output-fail.testing.local"
  </security>
  <server>
    host 127.0.0.1
    port 24224
  </server>
</match>
