logstash-input-rss 3.0.1 → 3.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/Gemfile +10 -1
- data/docs/index.asciidoc +70 -0
- data/logstash-input-rss.gemspec +2 -2
- metadata +7 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 7d30f366dc6da1c6f3dd82c206378596c92ccf8a08adb545471c5a348b5496a0
|
4
|
+
data.tar.gz: 75d872fc4f579e6eaa0d61a1f0ed4ecbb4cea46f38b404d8104c9062abfe3d01
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e4c7767ae1c8b75b2e1c1ca049140573911a602f7aadac156c37ef83e72987747bcc20ac955b5c5987caa42876f55d89533950fdbe6e5192a8c2dea3a5d1dc4d
|
7
|
+
data.tar.gz: 43060a8859995d46dd8c50982d1d28fa2ac742ce4e6971fe738eec6fd7edb14eedc89060e9d313e48ea34387db0308b62cacfdded22314e37499f5acefdd9f77
|
data/Gemfile
CHANGED
@@ -1,2 +1,11 @@
|
|
1
1
|
source 'https://rubygems.org'
|
2
|
-
|
2
|
+
|
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,70 @@
|
|
1
|
+
:plugin: rss
|
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
|
+
=== Rss input plugin
|
18
|
+
|
19
|
+
include::{include_path}/plugin_header.asciidoc[]
|
20
|
+
|
21
|
+
==== Description
|
22
|
+
|
23
|
+
Run command line tools and capture the whole output as an event.
|
24
|
+
|
25
|
+
Notes:
|
26
|
+
|
27
|
+
* The `@source` of this event will be the command run.
|
28
|
+
* The `@message` of this event will be the entire stdout of the command
|
29
|
+
as one event.
|
30
|
+
|
31
|
+
|
32
|
+
[id="plugins-{type}s-{plugin}-options"]
|
33
|
+
==== Rss Input Configuration Options
|
34
|
+
|
35
|
+
This plugin supports the following configuration options plus the <<plugins-{type}s-{plugin}-common-options>> described later.
|
36
|
+
|
37
|
+
[cols="<,<,<",options="header",]
|
38
|
+
|=======================================================================
|
39
|
+
|Setting |Input type|Required
|
40
|
+
| <<plugins-{type}s-{plugin}-interval>> |<<number,number>>|Yes
|
41
|
+
| <<plugins-{type}s-{plugin}-url>> |<<string,string>>|Yes
|
42
|
+
|=======================================================================
|
43
|
+
|
44
|
+
Also see <<plugins-{type}s-{plugin}-common-options>> for a list of options supported by all
|
45
|
+
input plugins.
|
46
|
+
|
47
|
+
|
48
|
+
|
49
|
+
[id="plugins-{type}s-{plugin}-interval"]
|
50
|
+
===== `interval`
|
51
|
+
|
52
|
+
* This is a required setting.
|
53
|
+
* Value type is <<number,number>>
|
54
|
+
* There is no default value for this setting.
|
55
|
+
|
56
|
+
Interval to run the command. Value is in seconds.
|
57
|
+
|
58
|
+
[id="plugins-{type}s-{plugin}-url"]
|
59
|
+
===== `url`
|
60
|
+
|
61
|
+
* This is a required setting.
|
62
|
+
* Value type is <<string,string>>
|
63
|
+
* There is no default value for this setting.
|
64
|
+
|
65
|
+
RSS/Atom feed URL
|
66
|
+
|
67
|
+
|
68
|
+
|
69
|
+
[id="plugins-{type}s-{plugin}-common-options"]
|
70
|
+
include::{include_path}/{type}.asciidoc[]
|
data/logstash-input-rss.gemspec
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
|
3
3
|
s.name = 'logstash-input-rss'
|
4
|
-
s.version = '3.0.
|
4
|
+
s.version = '3.0.2'
|
5
5
|
s.licenses = ['Apache License (2.0)']
|
6
6
|
s.summary = "Poll an RSS/Atom feed."
|
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-input-rss
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.2
|
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
|
@@ -100,7 +100,9 @@ dependencies:
|
|
100
100
|
- - ">="
|
101
101
|
- !ruby/object:Gem::Version
|
102
102
|
version: '0'
|
103
|
-
description: This gem is a Logstash plugin required to be installed on top of the
|
103
|
+
description: This gem is a Logstash plugin required to be installed on top of the
|
104
|
+
Logstash core pipeline using $LS_HOME/bin/logstash-plugin install gemname. This
|
105
|
+
gem is not a stand-alone program
|
104
106
|
email: jason.kendall@elastic.co
|
105
107
|
executables: []
|
106
108
|
extensions: []
|
@@ -112,6 +114,7 @@ files:
|
|
112
114
|
- LICENSE
|
113
115
|
- NOTICE.TXT
|
114
116
|
- README.md
|
117
|
+
- docs/index.asciidoc
|
115
118
|
- lib/logstash/inputs/rss.rb
|
116
119
|
- logstash-input-rss.gemspec
|
117
120
|
- spec/fixtures/atom/invalid-feed.xml
|
@@ -143,7 +146,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
143
146
|
version: '0'
|
144
147
|
requirements: []
|
145
148
|
rubyforge_project:
|
146
|
-
rubygems_version: 2.6.
|
149
|
+
rubygems_version: 2.6.11
|
147
150
|
signing_key:
|
148
151
|
specification_version: 4
|
149
152
|
summary: Poll an RSS/Atom feed.
|