logstash-output-irc 3.0.2 → 3.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +8 -1
- data/docs/index.asciidoc +157 -0
- data/logstash-output-irc.gemspec +2 -2
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: db17a9a2eae34174e4ac4867555a328c419442d1
|
4
|
+
data.tar.gz: aeb043482b99e6f4e5fb0800d8c858b2cb8a0a1e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7b4c529a4317b2759844b224727ddf9a93b444635c5a643ec684e092843a5757edf59c54a13a4773a0e13af3c67179f7f3e0eb2f1617bce33c49d723f34d6241
|
7
|
+
data.tar.gz: a04169bb15fbb7a94cac196964514c29ce55a4631a5856edbe72520306b3132209c4a9866926102570eb2a6434582aa64cc6ad9c8e8ae029a08140b86c0c1d3d
|
data/Gemfile
CHANGED
@@ -1,4 +1,11 @@
|
|
1
1
|
source 'https://rubygems.org'
|
2
2
|
|
3
|
-
# Specify your gem's dependencies in logstash-mass_effect.gemspec
|
4
3
|
gemspec
|
4
|
+
|
5
|
+
logstash_path = ENV["LOGSTASH_PATH"] || "../../logstash"
|
6
|
+
use_logstash_source = ENV["LOGSTASH_SOURCE"] && ENV["LOGSTASH_SOURCE"].to_s == "1"
|
7
|
+
|
8
|
+
if Dir.exist?(logstash_path) && use_logstash_source
|
9
|
+
gem 'logstash-core', :path => "#{logstash_path}/logstash-core"
|
10
|
+
gem 'logstash-core-plugin-api', :path => "#{logstash_path}/logstash-core-plugin-api"
|
11
|
+
end
|
data/docs/index.asciidoc
ADDED
@@ -0,0 +1,157 @@
|
|
1
|
+
:plugin: irc
|
2
|
+
:type: output
|
3
|
+
|
4
|
+
///////////////////////////////////////////
|
5
|
+
START - GENERATED VARIABLES, DO NOT EDIT!
|
6
|
+
///////////////////////////////////////////
|
7
|
+
:version: %VERSION%
|
8
|
+
:release_date: %RELEASE_DATE%
|
9
|
+
:changelog_url: %CHANGELOG_URL%
|
10
|
+
:include_path: ../../../../logstash/docs/include
|
11
|
+
///////////////////////////////////////////
|
12
|
+
END - GENERATED VARIABLES, DO NOT EDIT!
|
13
|
+
///////////////////////////////////////////
|
14
|
+
|
15
|
+
[id="plugins-{type}-{plugin}"]
|
16
|
+
|
17
|
+
=== Irc output plugin
|
18
|
+
|
19
|
+
include::{include_path}/plugin_header.asciidoc[]
|
20
|
+
|
21
|
+
==== Description
|
22
|
+
|
23
|
+
Write events to IRC
|
24
|
+
|
25
|
+
|
26
|
+
[id="plugins-{type}s-{plugin}-options"]
|
27
|
+
==== Irc Output Configuration Options
|
28
|
+
|
29
|
+
This plugin supports the following configuration options plus the <<plugins-{type}s-{plugin}-common-options>> described later.
|
30
|
+
|
31
|
+
[cols="<,<,<",options="header",]
|
32
|
+
|=======================================================================
|
33
|
+
|Setting |Input type|Required
|
34
|
+
| <<plugins-{type}s-{plugin}-channels>> |<<array,array>>|Yes
|
35
|
+
| <<plugins-{type}s-{plugin}-format>> |<<string,string>>|No
|
36
|
+
| <<plugins-{type}s-{plugin}-host>> |<<string,string>>|Yes
|
37
|
+
| <<plugins-{type}s-{plugin}-messages_per_second>> |<<number,number>>|No
|
38
|
+
| <<plugins-{type}s-{plugin}-nick>> |<<string,string>>|No
|
39
|
+
| <<plugins-{type}s-{plugin}-password>> |<<password,password>>|No
|
40
|
+
| <<plugins-{type}s-{plugin}-port>> |<<number,number>>|No
|
41
|
+
| <<plugins-{type}s-{plugin}-post_string>> |<<string,string>>|No
|
42
|
+
| <<plugins-{type}s-{plugin}-pre_string>> |<<string,string>>|No
|
43
|
+
| <<plugins-{type}s-{plugin}-real>> |<<string,string>>|No
|
44
|
+
| <<plugins-{type}s-{plugin}-secure>> |<<boolean,boolean>>|No
|
45
|
+
| <<plugins-{type}s-{plugin}-user>> |<<string,string>>|No
|
46
|
+
|=======================================================================
|
47
|
+
|
48
|
+
Also see <<plugins-{type}s-{plugin}-common-options>> for a list of options supported by all
|
49
|
+
output plugins.
|
50
|
+
|
51
|
+
|
52
|
+
|
53
|
+
[id="plugins-{type}s-{plugin}-channels"]
|
54
|
+
===== `channels`
|
55
|
+
|
56
|
+
* This is a required setting.
|
57
|
+
* Value type is <<array,array>>
|
58
|
+
* There is no default value for this setting.
|
59
|
+
|
60
|
+
Channels to broadcast to.
|
61
|
+
|
62
|
+
These should be full channel names including the '#' symbol, such as
|
63
|
+
"#logstash".
|
64
|
+
|
65
|
+
[id="plugins-{type}s-{plugin}-format"]
|
66
|
+
===== `format`
|
67
|
+
|
68
|
+
* Value type is <<string,string>>
|
69
|
+
* Default value is `"%{message}"`
|
70
|
+
|
71
|
+
Message format to send, event tokens are usable here
|
72
|
+
|
73
|
+
[id="plugins-{type}s-{plugin}-host"]
|
74
|
+
===== `host`
|
75
|
+
|
76
|
+
* This is a required setting.
|
77
|
+
* Value type is <<string,string>>
|
78
|
+
* There is no default value for this setting.
|
79
|
+
|
80
|
+
Address of the host to connect to
|
81
|
+
|
82
|
+
[id="plugins-{type}s-{plugin}-messages_per_second"]
|
83
|
+
===== `messages_per_second`
|
84
|
+
|
85
|
+
* Value type is <<number,number>>
|
86
|
+
* Default value is `0.5`
|
87
|
+
|
88
|
+
Limit the rate of messages sent to IRC in messages per second.
|
89
|
+
|
90
|
+
[id="plugins-{type}s-{plugin}-nick"]
|
91
|
+
===== `nick`
|
92
|
+
|
93
|
+
* Value type is <<string,string>>
|
94
|
+
* Default value is `"logstash"`
|
95
|
+
|
96
|
+
IRC Nickname
|
97
|
+
|
98
|
+
[id="plugins-{type}s-{plugin}-password"]
|
99
|
+
===== `password`
|
100
|
+
|
101
|
+
* Value type is <<password,password>>
|
102
|
+
* There is no default value for this setting.
|
103
|
+
|
104
|
+
IRC server password
|
105
|
+
|
106
|
+
[id="plugins-{type}s-{plugin}-port"]
|
107
|
+
===== `port`
|
108
|
+
|
109
|
+
* Value type is <<number,number>>
|
110
|
+
* Default value is `6667`
|
111
|
+
|
112
|
+
Port on host to connect to.
|
113
|
+
|
114
|
+
[id="plugins-{type}s-{plugin}-post_string"]
|
115
|
+
===== `post_string`
|
116
|
+
|
117
|
+
* Value type is <<string,string>>
|
118
|
+
* There is no default value for this setting.
|
119
|
+
|
120
|
+
Static string after event
|
121
|
+
|
122
|
+
[id="plugins-{type}s-{plugin}-pre_string"]
|
123
|
+
===== `pre_string`
|
124
|
+
|
125
|
+
* Value type is <<string,string>>
|
126
|
+
* There is no default value for this setting.
|
127
|
+
|
128
|
+
Static string before event
|
129
|
+
|
130
|
+
[id="plugins-{type}s-{plugin}-real"]
|
131
|
+
===== `real`
|
132
|
+
|
133
|
+
* Value type is <<string,string>>
|
134
|
+
* Default value is `"logstash"`
|
135
|
+
|
136
|
+
IRC Real name
|
137
|
+
|
138
|
+
[id="plugins-{type}s-{plugin}-secure"]
|
139
|
+
===== `secure`
|
140
|
+
|
141
|
+
* Value type is <<boolean,boolean>>
|
142
|
+
* Default value is `false`
|
143
|
+
|
144
|
+
Set this to true to enable SSL.
|
145
|
+
|
146
|
+
[id="plugins-{type}s-{plugin}-user"]
|
147
|
+
===== `user`
|
148
|
+
|
149
|
+
* Value type is <<string,string>>
|
150
|
+
* Default value is `"logstash"`
|
151
|
+
|
152
|
+
IRC Username
|
153
|
+
|
154
|
+
|
155
|
+
|
156
|
+
[id="plugins-{type}s-{plugin}-common-options"]
|
157
|
+
include::{include_path}/{type}.asciidoc[]
|
data/logstash-output-irc.gemspec
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
|
3
3
|
s.name = 'logstash-output-irc'
|
4
|
-
s.version = '3.0.
|
4
|
+
s.version = '3.0.3'
|
5
5
|
s.licenses = ['Apache License (2.0)']
|
6
6
|
s.summary = "Write events to IRC"
|
7
7
|
s.description = "This gem is a Logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/logstash-plugin install gemname. This gem is not a stand-alone program"
|
@@ -11,7 +11,7 @@ Gem::Specification.new do |s|
|
|
11
11
|
s.require_paths = ["lib"]
|
12
12
|
|
13
13
|
# Files
|
14
|
-
s.files = Dir[
|
14
|
+
s.files = Dir["lib/**/*","spec/**/*","*.gemspec","*.md","CONTRIBUTORS","Gemfile","LICENSE","NOTICE.TXT", "vendor/jar-dependencies/**/*.jar", "vendor/jar-dependencies/**/*.rb", "VERSION", "docs/**/*"]
|
15
15
|
|
16
16
|
# Tests
|
17
17
|
s.test_files = s.files.grep(%r{^(test|spec|features)/})
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logstash-output-irc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Elastic
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-06-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
@@ -84,6 +84,7 @@ files:
|
|
84
84
|
- LICENSE
|
85
85
|
- NOTICE.TXT
|
86
86
|
- README.md
|
87
|
+
- docs/index.asciidoc
|
87
88
|
- lib/logstash/outputs/irc.rb
|
88
89
|
- logstash-output-irc.gemspec
|
89
90
|
- spec/outputs/irc_spec.rb
|
@@ -110,7 +111,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
110
111
|
version: '0'
|
111
112
|
requirements: []
|
112
113
|
rubyforge_project:
|
113
|
-
rubygems_version: 2.
|
114
|
+
rubygems_version: 2.4.8
|
114
115
|
signing_key:
|
115
116
|
specification_version: 4
|
116
117
|
summary: Write events to IRC
|