logstash-input-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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d4d11786bd33a81ea3a6bdec4821801821e3ddbf
4
- data.tar.gz: ac00dac56cc8e64d08ad7d72d87417b64097ba29
3
+ metadata.gz: bab7922ae64a948dc9e9777323740ebf6b6edeb5
4
+ data.tar.gz: c74d1b516bf386e0e9e2703296949c95e55d652e
5
5
  SHA512:
6
- metadata.gz: c7c3b13b8c66725dcd39e489d1c3299f3823531c17591f0c8862efed69426ca88bc9a134e9fce578895e7632bb99278485f0dfe2a916af05d06bab206689855b
7
- data.tar.gz: 847637d4d4026e6f615c811f20de213580616da5e31abb26a5c83e1537f3226b5b57696069c56c3142b9340078d7c218c41d3ba1d30246f390efefa36fa538ef
6
+ metadata.gz: 08fa649522b3e7634746939fa79bea89fe627e292d1515fc614d65ec096c8c0e5cec119edefe1b3cf3bb4b467cdd7c75b2e15a2132f3e460f0c06011c75c7f7b
7
+ data.tar.gz: aaab1744536f8d60f6ec57cfa9816bc7abedd3ddfbb05cc27edbbbfb0becf0d3530366a9f4b1cf5796222a2e010e41d4f533bed9b1f50079b4ba62b10fc95cfa
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
@@ -0,0 +1,152 @@
1
+ :plugin: irc
2
+ :type: input
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 input plugin
18
+
19
+ include::{include_path}/plugin_header.asciidoc[]
20
+
21
+ ==== Description
22
+
23
+ Read events from an IRC Server.
24
+
25
+
26
+ [id="plugins-{type}s-{plugin}-options"]
27
+ ==== Irc Input 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}-catch_all>> |<<boolean,boolean>>|No
35
+ | <<plugins-{type}s-{plugin}-channels>> |<<array,array>>|Yes
36
+ | <<plugins-{type}s-{plugin}-get_stats>> |<<boolean,boolean>>|No
37
+ | <<plugins-{type}s-{plugin}-host>> |<<string,string>>|Yes
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}-real>> |<<string,string>>|No
42
+ | <<plugins-{type}s-{plugin}-secure>> |<<boolean,boolean>>|No
43
+ | <<plugins-{type}s-{plugin}-stats_interval>> |<<number,number>>|No
44
+ | <<plugins-{type}s-{plugin}-user>> |<<string,string>>|No
45
+ |=======================================================================
46
+
47
+ Also see <<plugins-{type}s-{plugin}-common-options>> for a list of options supported by all
48
+ input plugins.
49
+
50
+ &nbsp;
51
+
52
+ [id="plugins-{type}s-{plugin}-catch_all"]
53
+ ===== `catch_all`
54
+
55
+ * Value type is <<boolean,boolean>>
56
+ * Default value is `false`
57
+
58
+ Catch all IRC channel/user events not just channel messages
59
+
60
+ [id="plugins-{type}s-{plugin}-channels"]
61
+ ===== `channels`
62
+
63
+ * This is a required setting.
64
+ * Value type is <<array,array>>
65
+ * There is no default value for this setting.
66
+
67
+ Channels to join and read messages from.
68
+
69
+ These should be full channel names including the '#' symbol, such as
70
+ "#logstash".
71
+
72
+ For passworded channels, add a space and the channel password, such as
73
+ "#logstash password".
74
+
75
+
76
+ [id="plugins-{type}s-{plugin}-get_stats"]
77
+ ===== `get_stats`
78
+
79
+ * Value type is <<boolean,boolean>>
80
+ * Default value is `false`
81
+
82
+ Gather and send user counts for channels - this requires catch_all and will force it
83
+
84
+ [id="plugins-{type}s-{plugin}-host"]
85
+ ===== `host`
86
+
87
+ * This is a required setting.
88
+ * Value type is <<string,string>>
89
+ * There is no default value for this setting.
90
+
91
+ Host of the IRC Server to connect to.
92
+
93
+ [id="plugins-{type}s-{plugin}-nick"]
94
+ ===== `nick`
95
+
96
+ * Value type is <<string,string>>
97
+ * Default value is `"logstash"`
98
+
99
+ IRC Nickname
100
+
101
+ [id="plugins-{type}s-{plugin}-password"]
102
+ ===== `password`
103
+
104
+ * Value type is <<password,password>>
105
+ * There is no default value for this setting.
106
+
107
+ IRC Server password
108
+
109
+ [id="plugins-{type}s-{plugin}-port"]
110
+ ===== `port`
111
+
112
+ * Value type is <<number,number>>
113
+ * Default value is `6667`
114
+
115
+ Port for the IRC Server
116
+
117
+ [id="plugins-{type}s-{plugin}-real"]
118
+ ===== `real`
119
+
120
+ * Value type is <<string,string>>
121
+ * Default value is `"logstash"`
122
+
123
+ IRC Real name
124
+
125
+ [id="plugins-{type}s-{plugin}-secure"]
126
+ ===== `secure`
127
+
128
+ * Value type is <<boolean,boolean>>
129
+ * Default value is `false`
130
+
131
+ Set this to true to enable SSL.
132
+
133
+ [id="plugins-{type}s-{plugin}-stats_interval"]
134
+ ===== `stats_interval`
135
+
136
+ * Value type is <<number,number>>
137
+ * Default value is `5`
138
+
139
+ How often in minutes to get the user count stats
140
+
141
+ [id="plugins-{type}s-{plugin}-user"]
142
+ ===== `user`
143
+
144
+ * Value type is <<string,string>>
145
+ * Default value is `"logstash"`
146
+
147
+ IRC Username
148
+
149
+
150
+
151
+ [id="plugins-{type}s-{plugin}-common-options"]
152
+ include::{include_path}/{type}.asciidoc[]
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-input-irc'
4
- s.version = '3.0.2'
4
+ s.version = '3.0.3'
5
5
  s.licenses = ['Apache License (2.0)']
6
6
  s.summary = "Read events from an IRC Server."
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['lib/**/*','spec/**/*','vendor/**/*','*.gemspec','*.md','CONTRIBUTORS','Gemfile','LICENSE','NOTICE.TXT']
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-input-irc
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.2
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: 2016-07-14 00:00:00.000000000 Z
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
@@ -98,6 +98,7 @@ files:
98
98
  - LICENSE
99
99
  - NOTICE.TXT
100
100
  - README.md
101
+ - docs/index.asciidoc
101
102
  - lib/logstash/inputs/irc.rb
102
103
  - logstash-input-irc.gemspec
103
104
  - spec/inputs/irc_spec.rb
@@ -124,7 +125,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
124
125
  version: '0'
125
126
  requirements: []
126
127
  rubyforge_project:
127
- rubygems_version: 2.6.3
128
+ rubygems_version: 2.4.8
128
129
  signing_key:
129
130
  specification_version: 4
130
131
  summary: Read events from an IRC Server.