Logstash-Slack plugin attachment format issue

Does anybody know who to configure Logstash Slack output section in logstash.conf?

I tried to do the following using this docs https://github.com/cyli/logstash-output-slack:

slack {
  url => "..."
  channel => ["..."]
  attachments => [ {"color" => "#36a64f"},{"title" => "This is a title %{title}"},{"author_name" => %{name}} ]

I received the message but attachment was not formatted properly:
the color was not set, %{title} and %{name} fields haven't been transformed to its values.

Could anybody clarify how to set the attachment format correctly?

Is there any clear documentation for Logstash-slack plugin?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.