logstash-output-logmatic 0.2 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -7
- data/README.md +10 -40
- metadata +42 -49
- data/.gitignore +0 -3
- data/CHANGELOG.md +0 -0
- data/CONTRIBUTORS +0 -11
- data/DEVELOPER.md +0 -2
- data/Gemfile +0 -2
- data/LICENSE +0 -13
- data/NOTICE.TXT +0 -5
- data/Rakefile +0 -1
- data/spec/outputs/logmatic.rb +0 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
---
|
|
2
|
-
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
5
|
-
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
1
|
+
---
|
|
2
|
+
SHA1:
|
|
3
|
+
metadata.gz: ec78944407577708eda8d11fa2e2249339973ceb
|
|
4
|
+
data.tar.gz: 7fddd7c645db124c89675a660da603fbe4bce2c3
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: da0e37e680c0b88f2c9053858c851fc4c9b66e3962b15971e0f51083fb36eb74ac8807aa47517a3d3ede61c85486bec39ca144b4f4c8b1239f9a33928210bed6
|
|
7
|
+
data.tar.gz: ef71bc0acbc2e8de8f2de21adc9878f86323683089bd137eb12eb61216a813987ee7581e51e15b13883cc390ca5f720ee432aec0fead2de3df19cc067988d041
|
data/README.md
CHANGED
|
@@ -1,22 +1,23 @@
|
|
|
1
1
|
# Logstash Logmatic.io's Output Plugin
|
|
2
|
+
*Link to the [Logmatic.io documentation](http://doc.logmatic.io/docs/using-logstash)*
|
|
2
3
|
|
|
3
4
|
This project is an output plugin to send logs to Logmatic.io from Logstash >v1.5.0.
|
|
4
5
|
|
|
5
6
|
## How to install it?
|
|
6
7
|
|
|
7
|
-
The gem
|
|
8
|
-
To install it in your Logstash install:
|
|
8
|
+
The gem is published in the main repository.
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
```bash
|
|
11
|
+
# Logstash 2.x
|
|
12
|
+
bin/logstash-plugin install logstash-output-logmatic
|
|
11
13
|
|
|
14
|
+
# Logstash 1.5x
|
|
15
|
+
bin/plugin install logstash-output-logmatic
|
|
12
16
|
```
|
|
13
|
-
gem "logstash-output-logmatic"
|
|
14
|
-
```
|
|
15
|
-
|
|
16
|
-
- Then install plugin:
|
|
17
17
|
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
Check the installation.
|
|
19
|
+
```bash
|
|
20
|
+
bin/logstash-plugin list | grep logstash-output-logmatic
|
|
20
21
|
```
|
|
21
22
|
|
|
22
23
|
## How to use it?
|
|
@@ -38,34 +39,3 @@ Once you are happy with your configuration you have to restart Logstash to take
|
|
|
38
39
|
|
|
39
40
|
If you need any support please contact us Logmatic.io's support team.
|
|
40
41
|
|
|
41
|
-
## Developing
|
|
42
|
-
|
|
43
|
-
#### 1. Run in a local Logstash clone
|
|
44
|
-
|
|
45
|
-
- Edit Logstash `Gemfile` and add the local plugin path, for example:
|
|
46
|
-
```ruby
|
|
47
|
-
gem "logstash-output-logmatic", :path => "/your/local/logstash-output-logmatic"
|
|
48
|
-
```
|
|
49
|
-
- Install plugin
|
|
50
|
-
```sh
|
|
51
|
-
bin/plugin install --no-verify
|
|
52
|
-
```
|
|
53
|
-
- Run Logstash with your plugin
|
|
54
|
-
```sh
|
|
55
|
-
bin/logstash -e 'output {logmatic {...}}'
|
|
56
|
-
```
|
|
57
|
-
At this point any modifications to the plugin code will be applied to this local Logstash setup. After modifying the plugin, simply rerun Logstash.
|
|
58
|
-
|
|
59
|
-
#### 2. Run in an installed Logstash
|
|
60
|
-
|
|
61
|
-
You can use the same **1.** method to run your plugin in an installed Logstash by editing its `Gemfile` and pointing the `:path` to your local plugin development directory or you can build the gem and install it using:
|
|
62
|
-
|
|
63
|
-
- Build your plugin gem
|
|
64
|
-
```sh
|
|
65
|
-
gem build logstash-output-logmatic.gemspec
|
|
66
|
-
```
|
|
67
|
-
- Install the plugin from the Logstash home
|
|
68
|
-
```sh
|
|
69
|
-
bin/plugin install /your/local/plugin/logstash-output-logmatic.gem
|
|
70
|
-
```
|
|
71
|
-
- Start Logstash and proceed to test the plugin
|
metadata
CHANGED
|
@@ -1,77 +1,70 @@
|
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: logstash-output-logmatic
|
|
3
|
-
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.3.0
|
|
5
5
|
platform: ruby
|
|
6
|
-
authors:
|
|
6
|
+
authors:
|
|
7
7
|
- Logmatic support team
|
|
8
|
+
- Giovanni CLEMENT
|
|
8
9
|
autorequire:
|
|
9
10
|
bindir: bin
|
|
10
11
|
cert_chain: []
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
- !ruby/object:Gem::Dependency
|
|
12
|
+
date: 2016-12-13 00:00:00.000000000 Z
|
|
13
|
+
dependencies:
|
|
14
|
+
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: logstash-core
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
requirements:
|
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
|
17
|
+
requirements:
|
|
19
18
|
- - ">="
|
|
20
|
-
- !ruby/object:Gem::Version
|
|
21
|
-
version:
|
|
22
|
-
- - <
|
|
23
|
-
- !ruby/object:Gem::Version
|
|
24
|
-
version:
|
|
19
|
+
- !ruby/object:Gem::Version
|
|
20
|
+
version: '5.0'
|
|
21
|
+
- - "<"
|
|
22
|
+
- !ruby/object:Gem::Version
|
|
23
|
+
version: '6.0'
|
|
25
24
|
type: :runtime
|
|
26
|
-
|
|
25
|
+
prerelease: false
|
|
26
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
27
|
+
requirements:
|
|
28
|
+
- - ">="
|
|
29
|
+
- !ruby/object:Gem::Version
|
|
30
|
+
version: '5.0'
|
|
31
|
+
- - "<"
|
|
32
|
+
- !ruby/object:Gem::Version
|
|
33
|
+
version: '6.0'
|
|
27
34
|
description:
|
|
28
|
-
email:
|
|
35
|
+
email:
|
|
29
36
|
- support@logmatic.io
|
|
30
37
|
executables: []
|
|
31
|
-
|
|
32
38
|
extensions: []
|
|
33
|
-
|
|
34
39
|
extra_rdoc_files: []
|
|
35
|
-
|
|
36
|
-
files:
|
|
37
|
-
- .gitignore
|
|
38
|
-
- CHANGELOG.md
|
|
39
|
-
- CONTRIBUTORS
|
|
40
|
-
- DEVELOPER.md
|
|
41
|
-
- Gemfile
|
|
42
|
-
- LICENSE
|
|
43
|
-
- NOTICE.TXT
|
|
40
|
+
files:
|
|
44
41
|
- README.md
|
|
45
|
-
- Rakefile
|
|
46
42
|
- lib/logstash/outputs/logmatic.rb
|
|
47
43
|
- lib/logstash/outputs/logmatic_https.rb
|
|
48
|
-
- spec/outputs/logmatic.rb
|
|
49
44
|
homepage: http://logmatic.io
|
|
50
|
-
licenses:
|
|
45
|
+
licenses:
|
|
51
46
|
- MIT
|
|
52
|
-
metadata:
|
|
53
|
-
logstash_plugin:
|
|
47
|
+
metadata:
|
|
48
|
+
logstash_plugin: 'true'
|
|
54
49
|
logstash_group: output
|
|
55
50
|
post_install_message:
|
|
56
51
|
rdoc_options: []
|
|
57
|
-
|
|
58
|
-
require_paths:
|
|
52
|
+
require_paths:
|
|
59
53
|
- lib
|
|
60
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
|
61
|
-
requirements:
|
|
62
|
-
-
|
|
63
|
-
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
54
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
55
|
+
requirements:
|
|
56
|
+
- - ">="
|
|
57
|
+
- !ruby/object:Gem::Version
|
|
58
|
+
version: '0'
|
|
59
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
60
|
+
requirements:
|
|
61
|
+
- - ">="
|
|
62
|
+
- !ruby/object:Gem::Version
|
|
63
|
+
version: '0'
|
|
69
64
|
requirements: []
|
|
70
|
-
|
|
71
65
|
rubyforge_project:
|
|
72
|
-
rubygems_version: 2.
|
|
66
|
+
rubygems_version: 2.5.2
|
|
73
67
|
signing_key:
|
|
74
68
|
specification_version: 4
|
|
75
69
|
summary: Logmatic output plugin for Logstash
|
|
76
|
-
test_files:
|
|
77
|
-
- spec/outputs/logmatic.rb
|
|
70
|
+
test_files: []
|
data/.gitignore
DELETED
data/CHANGELOG.md
DELETED
|
File without changes
|
data/CONTRIBUTORS
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
The following is a list of people who have contributed ideas, code, bug
|
|
2
|
-
reports, or in general have helped logstash along its way.
|
|
3
|
-
|
|
4
|
-
Contributors:
|
|
5
|
-
* Aaron Mildenstein (untergeek)
|
|
6
|
-
* Pier-Hugues Pellerin (ph)
|
|
7
|
-
|
|
8
|
-
Note: If you've sent us patches, bug reports, or otherwise contributed to
|
|
9
|
-
Logstash, and you aren't on the list above and want to be, please let us know
|
|
10
|
-
and we'll make sure you're here. Contributions from folks like you are what make
|
|
11
|
-
open source awesome.
|
data/DEVELOPER.md
DELETED
data/Gemfile
DELETED
data/LICENSE
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
Copyright (c) 2012–2015 Elasticsearch <http://www.elastic.co>
|
|
2
|
-
|
|
3
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
-
you may not use this file except in compliance with the License.
|
|
5
|
-
You may obtain a copy of the License at
|
|
6
|
-
|
|
7
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
-
|
|
9
|
-
Unless required by applicable law or agreed to in writing, software
|
|
10
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
-
See the License for the specific language governing permissions and
|
|
13
|
-
limitations under the License.
|
data/NOTICE.TXT
DELETED
data/Rakefile
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
require "logstash/devutils/rake"
|
data/spec/outputs/logmatic.rb
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
require "logstash/devutils/rspec/spec_helper"
|