logstash-output-opentsdb_using_filter_metrics 2.0.0 → 2.0.2
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 +8 -8
- data/CHANGELOG.md +4 -6
- data/CONTRIBUTORS +6 -2
- data/Gemfile +1 -7
- data/README.md +34 -14
- data/logstash-output-opentsdb_using_filter_metrics.gemspec +6 -5
- metadata +4 -18
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NDUwZWU5NGFlZGFkZmMyNWYzYTg1YTU5NGY5NWZmZDhkMWRkZTdhMA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZjY4NzcwMzI4MzkyNDM4OWNmZmU5M2Q2NTg0YzFiNDQwNGMyMmQ1Yg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MDkxOTk1ZmVkMTQyY2Y3MThhY2I0ZDI2YmExMWZkM2Y5Y2I5NzBhOGY4OTcx
|
10
|
+
MzNmNDRkNDIxNGMzYjYxNmFhZDc2MmZjMWM0ZDg5ODdkNzMxMjlmMTBiMGIy
|
11
|
+
NjBmY2QzNzI1NGI2NGY0NjA0Yjc1ZDczOTgwNWFiNzMzZTg0YzM=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
YmM4MzYxM2I0ZjY4MjE1MzlkMzY2ZmI4OTVkZTQwYjM3ZTVlNDdmNTA3MTRm
|
14
|
+
MTU3YWY5ZGRlYzNjNDRiMmU5MGExMmUwM2JlYmYzODhjMWQ5M2I3ODVjOWI0
|
15
|
+
Yzg2ZmUyMjNlMzcwNzgzNWFmMjRhZjJjNDhjNGQ2Y2JlMjQ5ZTQ=
|
data/CHANGELOG.md
CHANGED
@@ -1,7 +1,5 @@
|
|
1
|
-
## 2.0.
|
2
|
-
-
|
1
|
+
## 2.0.2
|
2
|
+
- Change lower logstash-core version
|
3
3
|
## 2.0.0
|
4
|
-
-
|
5
|
-
|
6
|
-
- Dependency on logstash-core update to 2.0
|
7
|
-
|
4
|
+
- This plugin is based on logstash-output-opentsdb. It optimized to use metrics filter.
|
5
|
+
- Dependency on logstash-core update to 2.0
|
data/CONTRIBUTORS
CHANGED
@@ -2,10 +2,14 @@ The following is a list of people who have contributed ideas, code, bug
|
|
2
2
|
reports, or in general have helped logstash along its way.
|
3
3
|
|
4
4
|
Contributors:
|
5
|
-
*
|
5
|
+
* Jordan Sissel (jordansissel)
|
6
|
+
* Kurt Hurtado (kurtado)
|
7
|
+
* Patrick Debois (jedi4ever)
|
6
8
|
* Pier-Hugues Pellerin (ph)
|
9
|
+
* Richard Pijnenburg (electrical)
|
10
|
+
* Eunkyung-kim (paulina)
|
7
11
|
|
8
12
|
Note: If you've sent us patches, bug reports, or otherwise contributed to
|
9
13
|
Logstash, and you aren't on the list above and want to be, please let us know
|
10
14
|
and we'll make sure you're here. Contributions from folks like you are what make
|
11
|
-
open source awesome.
|
15
|
+
open source awesome.
|
data/Gemfile
CHANGED
@@ -1,10 +1,4 @@
|
|
1
1
|
source 'https://rubygems.org'
|
2
2
|
gemspec
|
3
3
|
|
4
|
-
|
5
|
-
# gem 'logstash-devutils', '~> 0.0.18'
|
6
|
-
# gem 'logstash-core', '~> 2.2'
|
7
|
-
# end
|
8
|
-
|
9
|
-
gem 'logstash-core', '~> 2.2.0', :platforms => :jruby
|
10
|
-
gem 'logstash-devutils', '~> 0.0.18', :platforms => :jruby
|
4
|
+
gem 'rake', '~> 10.5'
|
data/README.md
CHANGED
@@ -1,17 +1,4 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
- 의존성 파일 설치
|
4
|
-
```sh
|
5
|
-
bundle install
|
6
|
-
```
|
7
|
-
- 빌드하기
|
8
|
-
```
|
9
|
-
gem build logstash-output-opentsdb_using_filter_metrics.gemspec
|
10
|
-
```
|
11
|
-
- 플러그인 설치
|
12
|
-
```
|
13
|
-
/kakao/program/logstash/bin/plugin install logstash-output-opentsdb_using_filter_metrics-2.0.0.gem
|
14
|
-
```
|
1
|
+
[](https://travis-ci.org/eunkyungkim/logstash-output-opentsdb_using_filter_metrics) [](https://badge.fury.io/rb/logstash-output-opentsdb_using_filter_metrics)
|
15
2
|
|
16
3
|
# Logstash Plugin
|
17
4
|
|
@@ -19,6 +6,39 @@ This is a plugin for [Logstash](https://github.com/elastic/logstash).
|
|
19
6
|
|
20
7
|
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.
|
21
8
|
|
9
|
+
## Usage
|
10
|
+
```
|
11
|
+
input {
|
12
|
+
kafka {
|
13
|
+
zk_connect => "diana-kafka-zookeeper1:2181,diana-kafka-zookeeper2:2181,diana-kafka-zookeeper3:2181"
|
14
|
+
topic_id => "diana-put-metrics"
|
15
|
+
group_id => "diana-put-metrics-consumer-group"
|
16
|
+
}
|
17
|
+
}
|
18
|
+
filter {
|
19
|
+
metrics {
|
20
|
+
meter => [ "tag1|value1|tag2|value2" ]
|
21
|
+
add_tag => "metric"
|
22
|
+
##### must be clear_interval = flush_interval
|
23
|
+
clear_interval => 10
|
24
|
+
flush_interval => 10
|
25
|
+
remove_field => [ "@version", "message" ]
|
26
|
+
}
|
27
|
+
}
|
28
|
+
output {
|
29
|
+
# Meter key of metrics filter will be tags.
|
30
|
+
# Meter count value will be metric value.
|
31
|
+
opentsdb_using_filter_metrics {
|
32
|
+
host => "localhost"
|
33
|
+
port => 4242
|
34
|
+
workers => 4
|
35
|
+
metric_name => "test.count.diana.access"
|
36
|
+
tag_separator => "|" # meter separator
|
37
|
+
host => "local-hostname" # additional tag
|
38
|
+
}
|
39
|
+
}
|
40
|
+
```
|
41
|
+
|
22
42
|
## Documentation
|
23
43
|
|
24
44
|
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/).
|
@@ -1,22 +1,23 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'logstash-output-opentsdb_using_filter_metrics'
|
3
|
-
s.version = "2.0.
|
3
|
+
s.version = "2.0.2"
|
4
4
|
s.licenses = ["Apache License (2.0)"]
|
5
5
|
s.summary = "This output allows you to pull metrics['count'] from metrics filter and ship them to opentsdb"
|
6
6
|
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"
|
7
7
|
s.authors = ["eunkyung-kim"]
|
8
|
+
s.homepage = 'https://github.com/eunkyungkim/logstash-output-opentsdb_using_filter_metrics'
|
8
9
|
s.email = "paulina0206@gmail.com"
|
9
10
|
s.require_paths = ["lib"]
|
10
11
|
|
11
12
|
# Files
|
12
13
|
s.files = Dir['lib/**/*','spec/**/*','vendor/**/*','*.gemspec','*.md','CONTRIBUTORS','Gemfile','LICENSE','NOTICE.TXT']
|
13
|
-
|
14
|
+
# Tests
|
14
15
|
s.test_files = s.files.grep(%r{^(test|spec|features)/})
|
15
16
|
|
16
17
|
# Special flag to let us know this is actually a logstash plugin
|
17
18
|
s.metadata = { "logstash_plugin" => "true", "logstash_group" => "output" }
|
18
19
|
|
19
20
|
# Gem dependencies
|
20
|
-
s.add_runtime_dependency "logstash-core", ">= 2.
|
21
|
-
s.add_development_dependency "logstash-devutils"
|
22
|
-
end
|
21
|
+
s.add_runtime_dependency "logstash-core", ">= 2.0.0.beta2", "< 3.0.0" if RUBY_PLATFORM == 'java'
|
22
|
+
s.add_development_dependency "logstash-devutils", "~> 0.0", ">= 0.0.18" if RUBY_PLATFORM == 'java'
|
23
|
+
end
|
metadata
CHANGED
@@ -1,29 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logstash-output-opentsdb_using_filter_metrics
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- eunkyung-kim
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-02-
|
12
|
-
dependencies:
|
13
|
-
- !ruby/object:Gem::Dependency
|
14
|
-
name: logstash-devutils
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - ! '>='
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '0'
|
20
|
-
type: :development
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - ! '>='
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: '0'
|
11
|
+
date: 2016-02-05 00:00:00.000000000 Z
|
12
|
+
dependencies: []
|
27
13
|
description: This gem is a logstash plugin required to be installed on top of the
|
28
14
|
Logstash core pipeline using $LS_HOME/bin/plugin install gemname. This gem is not
|
29
15
|
a stand-alone program
|
@@ -41,7 +27,7 @@ files:
|
|
41
27
|
- lib/logstash/outputs/opentsdb_using_filter_metrics.rb
|
42
28
|
- logstash-output-opentsdb_using_filter_metrics.gemspec
|
43
29
|
- spec/outputs/opentsdb_using_filter_metrics_spec.rb
|
44
|
-
homepage:
|
30
|
+
homepage: https://github.com/eunkyungkim/logstash-output-opentsdb_using_filter_metrics
|
45
31
|
licenses:
|
46
32
|
- Apache License (2.0)
|
47
33
|
metadata:
|