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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 46a597e767e0d6857aa3f7554342dcaf1bad8d3c
4
- data.tar.gz: 1759b3870f1fcb3ce6d34189c08d6b63190229e2
3
+ metadata.gz: 72370fe1b78f4bf72877cb619f93dfad51fcac5e
4
+ data.tar.gz: 838276c9c41b013bda30fe3d0d75f33c0c063ea2
5
5
  SHA512:
6
- metadata.gz: bcaa1593c02088b7e63933edc8439cd76403916ed1ad9bc2fdb079aaf27c68880fae5e697163588cc19d72b3f0ea3ef0de5ee4f082f738bcfcbb9e00e00db986
7
- data.tar.gz: 2fa3384a7a827853bd1afa72267d02536986921a7bd1cddc57dfe1537b630443a12e4fdcb6ed1645a912158bcf716914dc37d1ce81807cd90c694f0f83a9cebf
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.2'
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 => ["node01"]
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 => ["node01"]
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 => ["node01"]
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 => ["node01"]
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 => ["node01"]
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 => ["node01"]
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 => ["node01"]
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 => ["node01"]
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.2
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
- requirement: !ruby/object:Gem::Requirement
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
- name: logstash
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
- requirement: !ruby/object:Gem::Requirement
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
- name: elasticsearch
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: []