logstash-codec-collectd 1.0.1 → 2.0.0

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: b5e9c445cb622ae0d2c4078372b7b1cc229ca32b
4
- data.tar.gz: 13e7163c501d72eb1b483dbe9df6fe343ea397e7
3
+ metadata.gz: 4f9e68d07f513e2d05f223797b8c285fa1098bde
4
+ data.tar.gz: 77c9f1bbde0a5861240c6526e819655ba60f25f5
5
5
  SHA512:
6
- metadata.gz: e1bab0e3c3f96bc162534f0d2477ec47cefcdb54a2c702e9b4f45dcfed967701c686508aed19604a5c2577205eecf3f15699ab8b2e37792034164170919975c1
7
- data.tar.gz: 6f1f8a3a45a54ce4754079bda0c978732cce2e5cc90fd4ee8cf4b103136dda0c2ea4324bd8fb8e8461ce5a47984773ce22bb8a9c404bd35557f95181fbe6d83a
6
+ metadata.gz: a21a0071c0ab97388dcc82d746e0acba4005984fd169e55e934d78e08bc60b73cde4018cc93ac0b74117f0ebd53a6fcade6db58727c0bf4537c723a734c601e2
7
+ data.tar.gz: c50af4e4de30003d49f8f2efdd685b599059c1d496f8f4d8055d5afee4bd4cdf089f2d15dfa242568831ea4b350bdf199077876f5b6ee339490512caa433ca6b
data/README.md CHANGED
@@ -1,15 +1,15 @@
1
1
  # Logstash Plugin
2
2
 
3
- This is a plugin for [Logstash](https://github.com/elasticsearch/logstash).
3
+ This is a plugin for [Logstash](https://github.com/elastic/logstash).
4
4
 
5
5
  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.
6
6
 
7
7
  ## Documentation
8
8
 
9
- 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.elasticsearch.org/guide/en/logstash/current/).
9
+ 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/).
10
10
 
11
11
  - For formatting code or config example, you can use the asciidoc `[source,ruby]` directive
12
- - For more asciidoc formatting tips, see the excellent reference here https://github.com/elasticsearch/docs#asciidoc-guide
12
+ - For more asciidoc formatting tips, see the excellent reference here https://github.com/elastic/docs#asciidoc-guide
13
13
 
14
14
  ## Need Help?
15
15
 
@@ -83,4 +83,4 @@ Programming is not a required skill. Whatever you've seen about open source and
83
83
 
84
84
  It is more important to the community that you are able to contribute.
85
85
 
86
- For more information about contributing, see the [CONTRIBUTING](https://github.com/elasticsearch/logstash/blob/master/CONTRIBUTING.md) file.
86
+ For more information about contributing, see the [CONTRIBUTING](https://github.com/elastic/logstash/blob/master/CONTRIBUTING.md) file.
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-codec-collectd'
4
- s.version = '1.0.1'
4
+ s.version = '2.0.0'
5
5
  s.licenses = ['Apache License (2.0)']
6
6
  s.summary = "Read events from the collectd binary protocol"
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"
@@ -11,7 +11,7 @@ Gem::Specification.new do |s|
11
11
  s.require_paths = ["lib"]
12
12
 
13
13
  # Files
14
- s.files = `git ls-files`.split($\)+::Dir.glob('vendor/*')
14
+ s.files = Dir['lib/**/*','spec/**/*','vendor/**/*','*.gemspec','*.md','CONTRIBUTORS','Gemfile','LICENSE','NOTICE.TXT']
15
15
 
16
16
  # Tests
17
17
  s.test_files = s.files.grep(%r{^(test|spec|features)/})
@@ -20,7 +20,7 @@ Gem::Specification.new do |s|
20
20
  s.metadata = { "logstash_plugin" => "true", "logstash_group" => "codec" }
21
21
 
22
22
  # Gem dependencies
23
- s.add_runtime_dependency "logstash-core", '>= 1.4.0', '< 2.0.0'
23
+ s.add_runtime_dependency "logstash-core", "~> 2.0.0.snapshot"
24
24
 
25
25
  s.add_development_dependency 'logstash-devutils'
26
26
  end
@@ -0,0 +1,208 @@
1
+ absolute value:ABSOLUTE:0:U
2
+ apache_bytes value:DERIVE:0:U
3
+ apache_connections value:GAUGE:0:65535
4
+ apache_idle_workers value:GAUGE:0:65535
5
+ apache_requests value:DERIVE:0:U
6
+ apache_scoreboard value:GAUGE:0:65535
7
+ ath_nodes value:GAUGE:0:65535
8
+ ath_stat value:DERIVE:0:U
9
+ backends value:GAUGE:0:65535
10
+ bitrate value:GAUGE:0:4294967295
11
+ bytes value:GAUGE:0:U
12
+ cache_eviction value:DERIVE:0:U
13
+ cache_operation value:DERIVE:0:U
14
+ cache_ratio value:GAUGE:0:100
15
+ cache_result value:DERIVE:0:U
16
+ cache_size value:GAUGE:0:4294967295
17
+ charge value:GAUGE:0:U
18
+ compression_ratio value:GAUGE:0:2
19
+ compression uncompressed:DERIVE:0:U, compressed:DERIVE:0:U
20
+ connections value:DERIVE:0:U
21
+ conntrack value:GAUGE:0:4294967295
22
+ contextswitch value:DERIVE:0:U
23
+ counter value:COUNTER:U:U
24
+ cpufreq value:GAUGE:0:U
25
+ cpu value:DERIVE:0:U
26
+ current_connections value:GAUGE:0:U
27
+ current_sessions value:GAUGE:0:U
28
+ current value:GAUGE:U:U
29
+ delay value:GAUGE:-1000000:1000000
30
+ derive value:DERIVE:0:U
31
+ df_complex value:GAUGE:0:U
32
+ df_inodes value:GAUGE:0:U
33
+ df used:GAUGE:0:1125899906842623, free:GAUGE:0:1125899906842623
34
+ disk_latency read:GAUGE:0:U, write:GAUGE:0:U
35
+ disk_merged read:DERIVE:0:U, write:DERIVE:0:U
36
+ disk_octets read:DERIVE:0:U, write:DERIVE:0:U
37
+ disk_ops_complex value:DERIVE:0:U
38
+ disk_ops read:DERIVE:0:U, write:DERIVE:0:U
39
+ disk_time read:DERIVE:0:U, write:DERIVE:0:U
40
+ dns_answer value:DERIVE:0:U
41
+ dns_notify value:DERIVE:0:U
42
+ dns_octets queries:DERIVE:0:U, responses:DERIVE:0:U
43
+ dns_opcode value:DERIVE:0:U
44
+ dns_qtype_cached value:GAUGE:0:4294967295
45
+ dns_qtype value:DERIVE:0:U
46
+ dns_query value:DERIVE:0:U
47
+ dns_question value:DERIVE:0:U
48
+ dns_rcode value:DERIVE:0:U
49
+ dns_reject value:DERIVE:0:U
50
+ dns_request value:DERIVE:0:U
51
+ dns_resolver value:DERIVE:0:U
52
+ dns_response value:DERIVE:0:U
53
+ dns_transfer value:DERIVE:0:U
54
+ dns_update value:DERIVE:0:U
55
+ dns_zops value:DERIVE:0:U
56
+ duration seconds:GAUGE:0:U
57
+ email_check value:GAUGE:0:U
58
+ email_count value:GAUGE:0:U
59
+ email_size value:GAUGE:0:U
60
+ entropy value:GAUGE:0:4294967295
61
+ fanspeed value:GAUGE:0:U
62
+ file_size value:GAUGE:0:U
63
+ files value:GAUGE:0:U
64
+ fork_rate value:DERIVE:0:U
65
+ frequency_offset value:GAUGE:-1000000:1000000
66
+ frequency value:GAUGE:0:U
67
+ fscache_stat value:DERIVE:0:U
68
+ gauge value:GAUGE:U:U
69
+ hash_collisions value:DERIVE:0:U
70
+ http_request_methods value:DERIVE:0:U
71
+ http_requests value:DERIVE:0:U
72
+ http_response_codes value:DERIVE:0:U
73
+ humidity value:GAUGE:0:100
74
+ if_collisions value:DERIVE:0:U
75
+ if_dropped rx:DERIVE:0:U, tx:DERIVE:0:U
76
+ if_errors rx:DERIVE:0:U, tx:DERIVE:0:U
77
+ if_multicast value:DERIVE:0:U
78
+ if_octets rx:DERIVE:0:U, tx:DERIVE:0:U
79
+ if_packets rx:DERIVE:0:U, tx:DERIVE:0:U
80
+ if_rx_errors value:DERIVE:0:U
81
+ if_rx_octets value:DERIVE:0:U
82
+ if_tx_errors value:DERIVE:0:U
83
+ if_tx_octets value:DERIVE:0:U
84
+ invocations value:DERIVE:0:U
85
+ io_octets rx:DERIVE:0:U, tx:DERIVE:0:U
86
+ io_packets rx:DERIVE:0:U, tx:DERIVE:0:U
87
+ ipt_bytes value:DERIVE:0:U
88
+ ipt_packets value:DERIVE:0:U
89
+ irq value:DERIVE:0:U
90
+ latency value:GAUGE:0:U
91
+ links value:GAUGE:0:U
92
+ load shortterm:GAUGE:0:5000, midterm:GAUGE:0:5000, longterm:GAUGE:0:5000
93
+ md_disks value:GAUGE:0:U
94
+ memcached_command value:DERIVE:0:U
95
+ memcached_connections value:GAUGE:0:U
96
+ memcached_items value:GAUGE:0:U
97
+ memcached_octets rx:DERIVE:0:U, tx:DERIVE:0:U
98
+ memcached_ops value:DERIVE:0:U
99
+ memory value:GAUGE:0:281474976710656
100
+ multimeter value:GAUGE:U:U
101
+ mutex_operations value:DERIVE:0:U
102
+ mysql_commands value:DERIVE:0:U
103
+ mysql_handler value:DERIVE:0:U
104
+ mysql_locks value:DERIVE:0:U
105
+ mysql_log_position value:DERIVE:0:U
106
+ mysql_octets rx:DERIVE:0:U, tx:DERIVE:0:U
107
+ nfs_procedure value:DERIVE:0:U
108
+ nginx_connections value:GAUGE:0:U
109
+ nginx_requests value:DERIVE:0:U
110
+ node_octets rx:DERIVE:0:U, tx:DERIVE:0:U
111
+ node_rssi value:GAUGE:0:255
112
+ node_stat value:DERIVE:0:U
113
+ node_tx_rate value:GAUGE:0:127
114
+ objects value:GAUGE:0:U
115
+ operations value:DERIVE:0:U
116
+ percent value:GAUGE:0:100.1
117
+ percent_bytes value:GAUGE:0:100.1
118
+ percent_inodes value:GAUGE:0:100.1
119
+ pf_counters value:DERIVE:0:U
120
+ pf_limits value:DERIVE:0:U
121
+ pf_source value:DERIVE:0:U
122
+ pf_states value:GAUGE:0:U
123
+ pf_state value:DERIVE:0:U
124
+ pg_blks value:DERIVE:0:U
125
+ pg_db_size value:GAUGE:0:U
126
+ pg_n_tup_c value:DERIVE:0:U
127
+ pg_n_tup_g value:GAUGE:0:U
128
+ pg_numbackends value:GAUGE:0:U
129
+ pg_scan value:DERIVE:0:U
130
+ pg_xact value:DERIVE:0:U
131
+ ping_droprate value:GAUGE:0:100
132
+ ping_stddev value:GAUGE:0:65535
133
+ ping value:GAUGE:0:65535
134
+ players value:GAUGE:0:1000000
135
+ power value:GAUGE:0:U
136
+ protocol_counter value:DERIVE:0:U
137
+ ps_code value:GAUGE:0:9223372036854775807
138
+ ps_count processes:GAUGE:0:1000000, threads:GAUGE:0:1000000
139
+ ps_cputime user:DERIVE:0:U, syst:DERIVE:0:U
140
+ ps_data value:GAUGE:0:9223372036854775807
141
+ ps_disk_octets read:DERIVE:0:U, write:DERIVE:0:U
142
+ ps_disk_ops read:DERIVE:0:U, write:DERIVE:0:U
143
+ ps_pagefaults minflt:DERIVE:0:U, majflt:DERIVE:0:U
144
+ ps_rss value:GAUGE:0:9223372036854775807
145
+ ps_stacksize value:GAUGE:0:9223372036854775807
146
+ ps_state value:GAUGE:0:65535
147
+ ps_vm value:GAUGE:0:9223372036854775807
148
+ queue_length value:GAUGE:0:U
149
+ records value:GAUGE:0:U
150
+ requests value:GAUGE:0:U
151
+ response_time value:GAUGE:0:U
152
+ response_code value:GAUGE:0:U
153
+ route_etx value:GAUGE:0:U
154
+ route_metric value:GAUGE:0:U
155
+ routes value:GAUGE:0:U
156
+ serial_octets rx:DERIVE:0:U, tx:DERIVE:0:U
157
+ signal_noise value:GAUGE:U:0
158
+ signal_power value:GAUGE:U:0
159
+ signal_quality value:GAUGE:0:U
160
+ snr value:GAUGE:0:U
161
+ spam_check value:GAUGE:0:U
162
+ spam_score value:GAUGE:U:U
163
+ spl value:GAUGE:U:U
164
+ swap_io value:DERIVE:0:U
165
+ swap value:GAUGE:0:1099511627776
166
+ tcp_connections value:GAUGE:0:4294967295
167
+ temperature value:GAUGE:U:U
168
+ threads value:GAUGE:0:U
169
+ time_dispersion value:GAUGE:-1000000:1000000
170
+ timeleft value:GAUGE:0:U
171
+ time_offset value:GAUGE:-1000000:1000000
172
+ total_bytes value:DERIVE:0:U
173
+ total_connections value:DERIVE:0:U
174
+ total_objects value:DERIVE:0:U
175
+ total_operations value:DERIVE:0:U
176
+ total_requests value:DERIVE:0:U
177
+ total_sessions value:DERIVE:0:U
178
+ total_threads value:DERIVE:0:U
179
+ total_time_in_ms value:DERIVE:0:U
180
+ total_values value:DERIVE:0:U
181
+ uptime value:GAUGE:0:4294967295
182
+ users value:GAUGE:0:65535
183
+ vcl value:GAUGE:0:65535
184
+ vcpu value:GAUGE:0:U
185
+ virt_cpu_total value:DERIVE:0:U
186
+ virt_vcpu value:DERIVE:0:U
187
+ vmpage_action value:DERIVE:0:U
188
+ vmpage_faults minflt:DERIVE:0:U, majflt:DERIVE:0:U
189
+ vmpage_io in:DERIVE:0:U, out:DERIVE:0:U
190
+ vmpage_number value:GAUGE:0:4294967295
191
+ volatile_changes value:GAUGE:0:U
192
+ voltage_threshold value:GAUGE:U:U, threshold:GAUGE:U:U
193
+ voltage value:GAUGE:U:U
194
+ vs_memory value:GAUGE:0:9223372036854775807
195
+ vs_processes value:GAUGE:0:65535
196
+ vs_threads value:GAUGE:0:65535
197
+
198
+ #
199
+ # Legacy types
200
+ # (required for the v5 upgrade target)
201
+ #
202
+ arc_counts demand_data:COUNTER:0:U, demand_metadata:COUNTER:0:U, prefetch_data:COUNTER:0:U, prefetch_metadata:COUNTER:0:U
203
+ arc_l2_bytes read:COUNTER:0:U, write:COUNTER:0:U
204
+ arc_l2_size value:GAUGE:0:U
205
+ arc_ratio value:GAUGE:0:U
206
+ arc_size current:GAUGE:0:U, target:GAUGE:0:U, minlimit:GAUGE:0:U, maxlimit:GAUGE:0:U
207
+ mysql_qcache hits:COUNTER:0:U, inserts:COUNTER:0:U, not_cached:COUNTER:0:U, lowmem_prunes:COUNTER:0:U, queries_in_cache:GAUGE:0:U
208
+ mysql_threads running:GAUGE:0:U, connected:GAUGE:0:U, cached:GAUGE:0:U, created:COUNTER:0:U
metadata CHANGED
@@ -1,67 +1,58 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-codec-collectd
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elastic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-06-30 00:00:00.000000000 Z
11
+ date: 2015-09-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: logstash-core
15
- version_requirements: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - '>='
18
- - !ruby/object:Gem::Version
19
- version: 1.4.0
20
- - - <
21
- - !ruby/object:Gem::Version
22
- version: 2.0.0
23
14
  requirement: !ruby/object:Gem::Requirement
24
15
  requirements:
25
- - - '>='
26
- - !ruby/object:Gem::Version
27
- version: 1.4.0
28
- - - <
16
+ - - ~>
29
17
  - !ruby/object:Gem::Version
30
- version: 2.0.0
18
+ version: 2.0.0.snapshot
19
+ name: logstash-core
31
20
  prerelease: false
32
21
  type: :runtime
33
- - !ruby/object:Gem::Dependency
34
- name: logstash-devutils
35
22
  version_requirements: !ruby/object:Gem::Requirement
36
23
  requirements:
37
- - - '>='
24
+ - - ~>
38
25
  - !ruby/object:Gem::Version
39
- version: '0'
26
+ version: 2.0.0.snapshot
27
+ - !ruby/object:Gem::Dependency
40
28
  requirement: !ruby/object:Gem::Requirement
41
29
  requirements:
42
30
  - - '>='
43
31
  - !ruby/object:Gem::Version
44
32
  version: '0'
33
+ name: logstash-devutils
45
34
  prerelease: false
46
35
  type: :development
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - '>='
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
47
41
  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
48
42
  email: info@elastic.co
49
43
  executables: []
50
44
  extensions: []
51
45
  extra_rdoc_files: []
52
46
  files:
53
- - .gitignore
54
47
  - CHANGELOG.md
55
48
  - CONTRIBUTORS
56
49
  - Gemfile
57
50
  - LICENSE
58
51
  - NOTICE.TXT
59
52
  - README.md
60
- - Rakefile
61
53
  - lib/logstash/codecs/collectd.rb
62
54
  - logstash-codec-collectd.gemspec
63
55
  - spec/codecs/collectd_spec.rb
64
- - vendor.json
65
56
  - vendor/types.db
66
57
  homepage: http://www.elastic.co/guide/en/logstash/current/index.html
67
58
  licenses:
@@ -85,7 +76,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
85
76
  version: '0'
86
77
  requirements: []
87
78
  rubyforge_project:
88
- rubygems_version: 2.1.9
79
+ rubygems_version: 2.4.8
89
80
  signing_key:
90
81
  specification_version: 4
91
82
  summary: Read events from the collectd binary protocol
data/.gitignore DELETED
@@ -1,4 +0,0 @@
1
- *.gem
2
- Gemfile.lock
3
- .bundle
4
- vendor
data/Rakefile DELETED
@@ -1,10 +0,0 @@
1
- require 'json'
2
-
3
- BASE_PATH = File.expand_path(File.dirname(__FILE__))
4
- @files = JSON.parse(File.read(File.join(BASE_PATH, 'vendor.json')))
5
-
6
- task :default do
7
- system("rake -T")
8
- end
9
-
10
- require "logstash/devutils/rake"
@@ -1,5 +0,0 @@
1
- [{
2
- "sha1": "a90fe6cc53b76b7bdd56dc57950d90787cb9c96e",
3
- "url": "http://collectd.org/files/collectd-5.4.0.tar.gz",
4
- "files": [ "/src/types.db" ]
5
- }]