logstash-input-elasticsearch 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/logstash-input-elasticsearch.gemspec +1 -1
- data/spec/inputs/elasticsearch_spec.rb +9 -9
- metadata +19 -19
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 72370fe1b78f4bf72877cb619f93dfad51fcac5e
|
4
|
+
data.tar.gz: 838276c9c41b013bda30fe3d0d75f33c0c063ea2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3d5bd468ee2e6af2a5158905f069e9086342dcd309904f4a776b7e04075694e347a9eaf08f4929e05d51ab6de69b3858e8d31cbe09b82241647d2ac2510e394a
|
7
|
+
data.tar.gz: c71fbd4016d451762eb7ef70abc25271f60831fec1f6d51c2f98fbc754a6b8bb018c7640589ed14ff920b0873abb2f9af3b2f9da20fc940abdb54e31a74cf395
|
@@ -1,7 +1,7 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
|
3
3
|
s.name = 'logstash-input-elasticsearch'
|
4
|
-
s.version = '0.1.
|
4
|
+
s.version = '0.1.3'
|
5
5
|
s.licenses = ['Apache License (2.0)']
|
6
6
|
s.summary = "Read from an Elasticsearch cluster, based on search query results"
|
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/plugin install gemname. This gem is not a stand-alone program"
|
@@ -3,12 +3,12 @@ require "logstash/devutils/rspec/spec_helper"
|
|
3
3
|
require "logstash/inputs/elasticsearch"
|
4
4
|
require "elasticsearch"
|
5
5
|
|
6
|
-
describe "inputs/elasticsearch" do
|
6
|
+
describe "inputs/elasticsearch", :elasticsearch => true do
|
7
7
|
it "should retrieve json event from elasticseach" do
|
8
8
|
config = %q[
|
9
9
|
input {
|
10
10
|
elasticsearch {
|
11
|
-
hosts => ["
|
11
|
+
hosts => ["localhost"]
|
12
12
|
scan => false
|
13
13
|
query => '{ "query": { "match": { "city_name": "Okinawa" } }, "fields": ["message"] }'
|
14
14
|
}
|
@@ -57,7 +57,7 @@ describe "inputs/elasticsearch" do
|
|
57
57
|
config = %q[
|
58
58
|
input {
|
59
59
|
elasticsearch {
|
60
|
-
hosts => ["
|
60
|
+
hosts => ["localhost"]
|
61
61
|
scan => true
|
62
62
|
query => '{ "query": { "match": { "city_name": "Okinawa" } }, "fields": ["message"] }'
|
63
63
|
}
|
@@ -157,7 +157,7 @@ describe "inputs/elasticsearch" do
|
|
157
157
|
%q[
|
158
158
|
input {
|
159
159
|
elasticsearch {
|
160
|
-
hosts => ["
|
160
|
+
hosts => ["localhost"]
|
161
161
|
scan => false
|
162
162
|
query => '{ "query": { "match": { "city_name": "Okinawa" } }, "fields": ["message"] }'
|
163
163
|
docinfo => true
|
@@ -172,7 +172,7 @@ describe "inputs/elasticsearch" do
|
|
172
172
|
config_metadata_with_hash = %Q[
|
173
173
|
input {
|
174
174
|
elasticsearch {
|
175
|
-
hosts => ["
|
175
|
+
hosts => ["localhost"]
|
176
176
|
scan => false
|
177
177
|
query => '{ "query": { "match": { "city_name": "Okinawa" } }, "fields": ["message"] }'
|
178
178
|
docinfo => true
|
@@ -195,7 +195,7 @@ describe "inputs/elasticsearch" do
|
|
195
195
|
config_metadata_with_string = %Q[
|
196
196
|
input {
|
197
197
|
elasticsearch {
|
198
|
-
hosts => ["
|
198
|
+
hosts => ["localhost"]
|
199
199
|
scan => false
|
200
200
|
query => '{ "query": { "match": { "city_name": "Okinawa" } }, "fields": ["message"] }'
|
201
201
|
docinfo => true
|
@@ -225,7 +225,7 @@ describe "inputs/elasticsearch" do
|
|
225
225
|
config = %q[
|
226
226
|
input {
|
227
227
|
elasticsearch {
|
228
|
-
hosts => ["
|
228
|
+
hosts => ["localhost"]
|
229
229
|
scan => false
|
230
230
|
query => '{ "query": { "match": { "city_name": "Okinawa" } }, "fields": ["message"] }'
|
231
231
|
docinfo => true
|
@@ -245,7 +245,7 @@ describe "inputs/elasticsearch" do
|
|
245
245
|
config = %Q[
|
246
246
|
input {
|
247
247
|
elasticsearch {
|
248
|
-
hosts => ["
|
248
|
+
hosts => ["localhost"]
|
249
249
|
scan => false
|
250
250
|
query => '{ "query": { "match": { "city_name": "Okinawa" } }, "fields": ["message"] }'
|
251
251
|
docinfo => true
|
@@ -267,7 +267,7 @@ describe "inputs/elasticsearch" do
|
|
267
267
|
config = %q[
|
268
268
|
input {
|
269
269
|
elasticsearch {
|
270
|
-
hosts => ["
|
270
|
+
hosts => ["localhost"]
|
271
271
|
scan => false
|
272
272
|
query => '{ "query": { "match": { "city_name": "Okinawa" } }, "fields": ["message"] }'
|
273
273
|
}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logstash-input-elasticsearch
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Elasticsearch
|
@@ -11,7 +11,8 @@ cert_chain: []
|
|
11
11
|
date: 2015-01-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
|
14
|
+
name: logstash
|
15
|
+
version_requirements: !ruby/object:Gem::Requirement
|
15
16
|
requirements:
|
16
17
|
- - '>='
|
17
18
|
- !ruby/object:Gem::Version
|
@@ -19,10 +20,7 @@ dependencies:
|
|
19
20
|
- - <
|
20
21
|
- !ruby/object:Gem::Version
|
21
22
|
version: 2.0.0
|
22
|
-
|
23
|
-
prerelease: false
|
24
|
-
type: :runtime
|
25
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirement: !ruby/object:Gem::Requirement
|
26
24
|
requirements:
|
27
25
|
- - '>='
|
28
26
|
- !ruby/object:Gem::Version
|
@@ -30,8 +28,11 @@ dependencies:
|
|
30
28
|
- - <
|
31
29
|
- !ruby/object:Gem::Version
|
32
30
|
version: 2.0.0
|
31
|
+
prerelease: false
|
32
|
+
type: :runtime
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
|
-
|
34
|
+
name: elasticsearch
|
35
|
+
version_requirements: !ruby/object:Gem::Requirement
|
35
36
|
requirements:
|
36
37
|
- - '>='
|
37
38
|
- !ruby/object:Gem::Version
|
@@ -39,10 +40,7 @@ dependencies:
|
|
39
40
|
- - ~>
|
40
41
|
- !ruby/object:Gem::Version
|
41
42
|
version: '1.0'
|
42
|
-
|
43
|
-
prerelease: false
|
44
|
-
type: :runtime
|
45
|
-
version_requirements: !ruby/object:Gem::Requirement
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
46
44
|
requirements:
|
47
45
|
- - '>='
|
48
46
|
- !ruby/object:Gem::Version
|
@@ -50,34 +48,36 @@ dependencies:
|
|
50
48
|
- - ~>
|
51
49
|
- !ruby/object:Gem::Version
|
52
50
|
version: '1.0'
|
51
|
+
prerelease: false
|
52
|
+
type: :runtime
|
53
53
|
- !ruby/object:Gem::Dependency
|
54
|
+
name: logstash-codec-json
|
55
|
+
version_requirements: !ruby/object:Gem::Requirement
|
56
|
+
requirements:
|
57
|
+
- - '>='
|
58
|
+
- !ruby/object:Gem::Version
|
59
|
+
version: '0'
|
54
60
|
requirement: !ruby/object:Gem::Requirement
|
55
61
|
requirements:
|
56
62
|
- - '>='
|
57
63
|
- !ruby/object:Gem::Version
|
58
64
|
version: '0'
|
59
|
-
name: logstash-codec-json
|
60
65
|
prerelease: false
|
61
66
|
type: :runtime
|
67
|
+
- !ruby/object:Gem::Dependency
|
68
|
+
name: logstash-devutils
|
62
69
|
version_requirements: !ruby/object:Gem::Requirement
|
63
70
|
requirements:
|
64
71
|
- - '>='
|
65
72
|
- !ruby/object:Gem::Version
|
66
73
|
version: '0'
|
67
|
-
- !ruby/object:Gem::Dependency
|
68
74
|
requirement: !ruby/object:Gem::Requirement
|
69
75
|
requirements:
|
70
76
|
- - '>='
|
71
77
|
- !ruby/object:Gem::Version
|
72
78
|
version: '0'
|
73
|
-
name: logstash-devutils
|
74
79
|
prerelease: false
|
75
80
|
type: :development
|
76
|
-
version_requirements: !ruby/object:Gem::Requirement
|
77
|
-
requirements:
|
78
|
-
- - '>='
|
79
|
-
- !ruby/object:Gem::Version
|
80
|
-
version: '0'
|
81
81
|
description: This gem is a logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/plugin install gemname. This gem is not a stand-alone program
|
82
82
|
email: info@elasticsearch.com
|
83
83
|
executables: []
|