logstash-output-elasticsearch_http 2.0.2 → 2.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +3 -98
- data/logstash-output-elasticsearch_http.gemspec +2 -2
- metadata +15 -21
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: afa61171aed66c1affc6e243d11664cf32cbd1f1
|
4
|
+
data.tar.gz: dab81ac14e9d05460cf80b84a5bb9715d30cbd3c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 25a667dc7ed79108826daab957c2fa3720232a45be189ac0421bfdc12f16ac14e2d88e642911d51aaa57931ba4b010104575576e26215b136c35c3b4dffb8d95
|
7
|
+
data.tar.gz: e30bb25992a58c4b6f5e438c7dee3757f9524ea8b725e55c619d1446eac29984bc801a4033edd09664cc401adebaaf517ad93900f9ce0caa55fec09131e6b179
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
# 2.0.4
|
2
|
+
- Depend on logstash-core-plugin-api instead of logstash-core, removing the need to mass update plugins on major releases of logstash
|
3
|
+
# 2.0.3
|
4
|
+
- New dependency requirements for logstash-core for the 5.0 release
|
1
5
|
## 2.0.0
|
2
6
|
- Plugins were updated to follow the new shutdown semantic, this mainly allows Logstash to instruct input plugins to terminate gracefully,
|
3
7
|
instead of using Thread.raise on the plugins' threads. Ref: https://github.com/elastic/logstash/pull/3895
|
data/README.md
CHANGED
@@ -1,100 +1,5 @@
|
|
1
1
|
# Please read!
|
2
|
-
## This plugin is
|
3
|
-
This
|
4
|
-
This means that **new pull requests will not be accepted** here, please direct any issues to the new elasticsearch output.
|
2
|
+
## This plugin is obsolete! Logstash 2.0 will default to http for [Elasticsearch Output](https://github.com/logstash-plugins/logstash-output-elasticsearch).
|
3
|
+
This means that **new pull requests will not be accepted** here, please direct any issues to the elasticsearch output.
|
5
4
|
|
6
|
-
|
7
|
-
|
8
|
-
This is a plugin for [Logstash](https://github.com/elastic/logstash).
|
9
|
-
|
10
|
-
It is fully free and fully open source. The license is Apache 2.0, meaning you are pretty much free to use it however you want in whatever way.
|
11
|
-
|
12
|
-
## Documentation
|
13
|
-
|
14
|
-
Logstash provides infrastructure to automatically generate documentation for this plugin. We use the asciidoc format to write documentation so any comments in the source code will be first converted into asciidoc and then into html. All plugin documentation are placed under one [central location](http://www.elastic.co/guide/en/logstash/current/).
|
15
|
-
|
16
|
-
- For formatting code or config example, you can use the asciidoc `[source,ruby]` directive
|
17
|
-
- For more asciidoc formatting tips, see the excellent reference here https://github.com/elastic/docs#asciidoc-guide
|
18
|
-
|
19
|
-
## Need Help?
|
20
|
-
|
21
|
-
Need help? Try #logstash on freenode IRC or the https://discuss.elastic.co/c/logstash discussion forum.
|
22
|
-
|
23
|
-
## Developing
|
24
|
-
|
25
|
-
### 1. Plugin Developement and Testing
|
26
|
-
|
27
|
-
#### Code
|
28
|
-
- To get started, you'll need JRuby with the Bundler gem installed.
|
29
|
-
|
30
|
-
- Create a new plugin or clone and existing from the GitHub [logstash-plugins](https://github.com/logstash-plugins) organization.
|
31
|
-
|
32
|
-
- Install dependencies
|
33
|
-
```sh
|
34
|
-
bundle install
|
35
|
-
```
|
36
|
-
|
37
|
-
#### Test
|
38
|
-
|
39
|
-
```sh
|
40
|
-
bundle exec rspec
|
41
|
-
```
|
42
|
-
|
43
|
-
The Logstash code required to run the tests/specs is specified in the `Gemfile` by the line similar to:
|
44
|
-
```ruby
|
45
|
-
gem "logstash", :github => "elasticsearch/logstash", :branch => "1.5"
|
46
|
-
```
|
47
|
-
To test against another version or a local Logstash, edit the `Gemfile` to specify an alternative location, for example:
|
48
|
-
```ruby
|
49
|
-
gem "logstash", :github => "elasticsearch/logstash", :ref => "master"
|
50
|
-
```
|
51
|
-
```ruby
|
52
|
-
gem "logstash", :path => "/your/local/logstash"
|
53
|
-
```
|
54
|
-
|
55
|
-
Then update your dependencies and run your tests:
|
56
|
-
|
57
|
-
```sh
|
58
|
-
bundle install
|
59
|
-
bundle exec rspec
|
60
|
-
```
|
61
|
-
|
62
|
-
### 2. Running your unpublished Plugin in Logstash
|
63
|
-
|
64
|
-
#### 2.1 Run in a local Logstash clone
|
65
|
-
|
66
|
-
- Edit Logstash `tools/Gemfile` and add the local plugin path, for example:
|
67
|
-
```ruby
|
68
|
-
gem "logstash-filter-awesome", :path => "/your/local/logstash-filter-awesome"
|
69
|
-
```
|
70
|
-
- Update Logstash dependencies
|
71
|
-
```sh
|
72
|
-
rake vendor:gems
|
73
|
-
```
|
74
|
-
- Run Logstash with your plugin
|
75
|
-
```sh
|
76
|
-
bin/logstash -e 'filter {awesome {}}'
|
77
|
-
```
|
78
|
-
At this point any modifications to the plugin code will be applied to this local Logstash setup. After modifying the plugin, simply rerun Logstash.
|
79
|
-
|
80
|
-
#### 2.2 Run in an installed Logstash
|
81
|
-
|
82
|
-
- Build your plugin gem
|
83
|
-
```sh
|
84
|
-
gem build logstash-filter-awesome.gemspec
|
85
|
-
```
|
86
|
-
- Install the plugin from the Logstash home
|
87
|
-
```sh
|
88
|
-
bin/plugin install /your/local/plugin/logstash-filter-awesome.gem
|
89
|
-
```
|
90
|
-
- Start Logstash and proceed to test the plugin
|
91
|
-
|
92
|
-
## Contributing
|
93
|
-
|
94
|
-
All contributions are welcome: ideas, patches, documentation, bug reports, complaints, and even something you drew up on a napkin.
|
95
|
-
|
96
|
-
Programming is not a required skill. Whatever you've seen about open source and maintainers or community members saying "send patches or die" - you will not see that here.
|
97
|
-
|
98
|
-
It is more important to me that you are able to contribute.
|
99
|
-
|
100
|
-
For more information about contributing, see the [CONTRIBUTING](https://github.com/elastic/logstash/blob/master/CONTRIBUTING.md) file.
|
5
|
+
## This plugin will be deleted soon.
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'logstash-output-elasticsearch_http'
|
3
|
-
s.version = '2.0.
|
3
|
+
s.version = '2.0.4'
|
4
4
|
s.licenses = ['Apache License (2.0)']
|
5
5
|
s.summary = "The elasticsearch_http output is deprecated in favor of the elasticsearch"
|
6
6
|
s.description = "The elasticsearch_http output is deprecated in favor of the elasticsearch output with the protocol set to http"
|
@@ -18,7 +18,7 @@ Gem::Specification.new do |s|
|
|
18
18
|
s.metadata = { "logstash_plugin" => "true", "logstash_group" => "output" }
|
19
19
|
|
20
20
|
# Gem dependencies
|
21
|
-
s.add_runtime_dependency "logstash-core", "
|
21
|
+
s.add_runtime_dependency "logstash-core-plugin-api", "~> 1.0"
|
22
22
|
s.add_runtime_dependency 'logstash-output-elasticsearch'
|
23
23
|
s.add_runtime_dependency 'logstash-codec-plain'
|
24
24
|
s.add_development_dependency 'logstash-devutils'
|
metadata
CHANGED
@@ -1,39 +1,33 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logstash-output-elasticsearch_http
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.4
|
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: 2016-03-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
15
15
|
requirements:
|
16
|
-
- -
|
16
|
+
- - "~>"
|
17
17
|
- !ruby/object:Gem::Version
|
18
|
-
version:
|
19
|
-
|
20
|
-
- !ruby/object:Gem::Version
|
21
|
-
version: 3.0.0
|
22
|
-
name: logstash-core
|
18
|
+
version: '1.0'
|
19
|
+
name: logstash-core-plugin-api
|
23
20
|
prerelease: false
|
24
21
|
type: :runtime
|
25
22
|
version_requirements: !ruby/object:Gem::Requirement
|
26
23
|
requirements:
|
27
|
-
- -
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
version: 2.0.0.beta2
|
30
|
-
- - <
|
24
|
+
- - "~>"
|
31
25
|
- !ruby/object:Gem::Version
|
32
|
-
version:
|
26
|
+
version: '1.0'
|
33
27
|
- !ruby/object:Gem::Dependency
|
34
28
|
requirement: !ruby/object:Gem::Requirement
|
35
29
|
requirements:
|
36
|
-
- -
|
30
|
+
- - ">="
|
37
31
|
- !ruby/object:Gem::Version
|
38
32
|
version: '0'
|
39
33
|
name: logstash-output-elasticsearch
|
@@ -41,13 +35,13 @@ dependencies:
|
|
41
35
|
type: :runtime
|
42
36
|
version_requirements: !ruby/object:Gem::Requirement
|
43
37
|
requirements:
|
44
|
-
- -
|
38
|
+
- - ">="
|
45
39
|
- !ruby/object:Gem::Version
|
46
40
|
version: '0'
|
47
41
|
- !ruby/object:Gem::Dependency
|
48
42
|
requirement: !ruby/object:Gem::Requirement
|
49
43
|
requirements:
|
50
|
-
- -
|
44
|
+
- - ">="
|
51
45
|
- !ruby/object:Gem::Version
|
52
46
|
version: '0'
|
53
47
|
name: logstash-codec-plain
|
@@ -55,13 +49,13 @@ dependencies:
|
|
55
49
|
type: :runtime
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
57
51
|
requirements:
|
58
|
-
- -
|
52
|
+
- - ">="
|
59
53
|
- !ruby/object:Gem::Version
|
60
54
|
version: '0'
|
61
55
|
- !ruby/object:Gem::Dependency
|
62
56
|
requirement: !ruby/object:Gem::Requirement
|
63
57
|
requirements:
|
64
|
-
- -
|
58
|
+
- - ">="
|
65
59
|
- !ruby/object:Gem::Version
|
66
60
|
version: '0'
|
67
61
|
name: logstash-devutils
|
@@ -69,7 +63,7 @@ dependencies:
|
|
69
63
|
type: :development
|
70
64
|
version_requirements: !ruby/object:Gem::Requirement
|
71
65
|
requirements:
|
72
|
-
- -
|
66
|
+
- - ">="
|
73
67
|
- !ruby/object:Gem::Version
|
74
68
|
version: '0'
|
75
69
|
description: The elasticsearch_http output is deprecated in favor of the elasticsearch output with the protocol set to http
|
@@ -99,12 +93,12 @@ require_paths:
|
|
99
93
|
- lib
|
100
94
|
required_ruby_version: !ruby/object:Gem::Requirement
|
101
95
|
requirements:
|
102
|
-
- -
|
96
|
+
- - ">="
|
103
97
|
- !ruby/object:Gem::Version
|
104
98
|
version: '0'
|
105
99
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
106
100
|
requirements:
|
107
|
-
- -
|
101
|
+
- - ">="
|
108
102
|
- !ruby/object:Gem::Version
|
109
103
|
version: '0'
|
110
104
|
requirements: []
|