No description, website, or topics provided.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.github License 2016 and new plugin installing command Apr 20, 2016
ci Adjusting the build scripts to correctly load the logstash source and… May 31, 2017
docs set default_codec doc attribute Apr 6, 2018
lib/logstash/outputs
spec refactor tests Dec 22, 2017
.gitignore Add tests, make gem installable, use rest-client instead of ftw so th… Apr 14, 2015
.travis.yml Travis - add 6.0 build, remove default JRuby 1.7 build, bump RVM vers… Oct 27, 2017
CHANGELOG.md
Gemfile Adjusting the build scripts to correctly load the logstash source and… May 31, 2017
NOTICE.TXT Adding NOTICE.txt Jun 19, 2015
README.md
Rakefile
logstash-output-slack.gemspec set default_codec doc attribute Apr 6, 2018

README.md

Build Status

Reviews of the code/contributions are very welcome (particularly with testing!), since I don't really know Ruby.

Logstash Slack Output Plugin

Build Status

This is a plugin for Logstash that pushes log events to Slack using their incoming webhooks API.

It is fully free and fully open source. The license is Apache 2.0, meaning you are pretty much free to use it however you want in whatever way.

======= Logstash provides infrastructure to automatically generate documentation for this plugin. We use the asciidoc format to write documentation so any comments in the source code will be first converted into asciidoc and then into html. All plugin documentation are placed under one central location.

Need Help?

Need help? Try #logstash on freenode IRC or the https://discuss.elastic.co/c/logstash discussion forum.

Usage

input {
    ...
}

filters {
    ...
}

output {
    ...
    slack {
        url => <YOUR SLACK WEBHOOK URL HERE>
        channel => [channel-name - optional]
        username => [slack username - optional]
        icon_emoji => [emoji, something like ":simple_smile:" - optional]
        icon_url => [icon url, would be overriden by icon_emoji - optional]
        format => [default is "%{message}", but used to format the text - optional]
        attachments => [an array of attachment maps as specified by the slack API - optional; if there is an "attachments" field in the event map and it is valid, it will override what is configured here, even if it's empty]
    }
}

Contributing

All contributions are welcome: ideas, patches, documentation, bug reports, complaints, and even something you drew up on a napkin.

Programming is not a required skill. Whatever you've seen about open source and maintainers or community members saying "send patches or die" - you will not see that here.

It is more important to the community that you are able to contribute.

For more information about contributing, see the CONTRIBUTING file.