Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fluent-plugins-nursery/fluent-plugin-irc
https://github.com/fluent-plugins-nursery/fluent-plugin-irc
fluent-plugin fluentd irc ruby
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/fluent-plugins-nursery/fluent-plugin-irc
- Owner: fluent-plugins-nursery
- License: other
- Created: 2012-07-27T16:41:44.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2021-03-01T04:54:40.000Z (almost 4 years ago)
- Last Synced: 2024-04-25T03:22:14.482Z (8 months ago)
- Topics: fluent-plugin, fluentd, irc, ruby
- Language: Ruby
- Size: 55.7 KB
- Stars: 16
- Watchers: 9
- Forks: 9
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Fluent::Plugin::Irc, a plugin for [Fluentd](http://fluentd.org)
[![Build Status](https://travis-ci.org/fluent-plugins-nursery/fluent-plugin-irc.svg?branch=master)](https://travis-ci.org/fluent-plugins-nursery/fluent-plugin-irc)
Fluent plugin to send messages to IRC server
## Requirements
| fluent-plugin-irc | fluentd | ruby |
|------------------------|---------|------|
| >= 0.1.0 | >= v0.14.0 | >= 2.1 |
| < 0.1.0 | >= v0.12.0 | >= 1.9 |## Installation
`$ fluent-gem install fluent-plugin-irc`
## Configuration
### Example
```
@type irc
host localhost
port 6667
channel fluentd
nick fluentd
user fluentd
real fluentd
message notice: %s [%s] %s
out_keys tag,time,message
time_key time
time_format %Y/%m/%d %H:%M:%S
tag_key tag```
### Parameter
|parameter|description|default|
|---|---|---|
|host|IRC server host|localhost|
|port|IRC server port number|6667|
|channel|channel to send messages (without first '#')||
|channel_keys|keys used to format channel. %s will be replaced with value specified by channel_keys if this option is used|nil|
|nick|nickname registered of IRC|fluentd|
|user|user name registered of IRC|fluentd|
|real|real name registered of IRC|fluentd|
|message|message format. %s will be replaced with value specified by out_keys||
|out_keys|keys used to format messages||
|time_key|key name for time|time|
|time_format|time format. This will be formatted with Time#strftime.|%Y/%m/%d %H:%M:%S|
|tag_key|key name for tag|tag|
|command|irc command. `privmsg` or `notice`|privmsg|
|command_keys|keys used to format command. %s will be replaced with value specified by command_keys if this option is used|nil|
|send_interval|interval (sec) to send message. defence Excess Flood|2|
|send_queue_limit|maximum size of send message queue|100|## Copyright
CopyrightCopyright (c) 2015 OKUNO Akihiro
LicenseApache License, Version 2.0