Skip to content

slapcat/out_discord

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fluent Bit Output Plugin for Discord 📨

Summary

A simple plugin for Fluent Bit to send output to a Discord channel. This plugin is ideal for alert-style notifications.

Special thanks to Thomas Cuthbert for his assistance with C to Golang type conversion.

Build Instructions

The compiled static object is located at bin/out_discord.so in this repository. If you wish to build it yourself, you must use the following build mode:

go build -buildmode=c-shared -o out_discord.so out_discord.go

Example Configuration

plugins.conf

[PLUGINS]
	Path /path/to/out_discord.so

Main configuration

The only required fields are Name, URL, and Match:

[OUTPUT]
    Name discord
    URL <webhook URL>
    Username Fluent Bit Alert
    Avatar_URL <avatar URL>
    Match *

Screenshot

Screenshot

About

Fluent Bit output plugin for Discord

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published