logstash-codec-collectd 0.1.5 → 0.1.6

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: e66146fb50cf89cf0e14110fecd9dcb046d590f0
4
- data.tar.gz: 8c7fb48c3499b9e1b637ee6002be1069cc68dfa9
3
+ metadata.gz: 74a689f3838fd2f54cc94ffc646454dac6bcb6da
4
+ data.tar.gz: ef5f0539b9d46ece83c9cac8cfff7c3c1aeb1d78
5
5
  SHA512:
6
- metadata.gz: dd772ab9dfc0a3b49d1c449667650f524f89a41974057d5b8005ee3a0ebf86d9edbc0bf4f5e28733c96c0e47b4e9519d9921cb153e962ea3bf6b66f8985256a2
7
- data.tar.gz: a19bd0c9b4f47a12caafd4be6bf0d0ddde04cf68395eef1242834eaeae1d8e4e919d50acc0dd107616658bc5f495f3da6d9ca7df9fd714d4b30fdddc091a9abd
6
+ metadata.gz: 95d9162c2c605a58beba82629950033e02c4fb0be3b306a4f367bdf37ad5f4270a812891140a196c53bfe3159d6f41a727c42079f71f7b77b5298c385b568b91
7
+ data.tar.gz: 94857fbd86397c9051c6183ee9b6dd37f006004565dadaa66599f0d11bfd248382653d0fd1ff2d81aba8bcb9991e94090f9264ff83caea9568a38f189b8a5e74
data/Gemfile CHANGED
@@ -1,3 +1,2 @@
1
1
  source 'https://rubygems.org'
2
- gemspec
3
- gem "logstash", :github => "elasticsearch/logstash", :branch => "1.5"
2
+ gemspec
data/README.md CHANGED
@@ -22,7 +22,7 @@ Need help? Try #logstash on freenode IRC or the logstash-users@googlegroups.com
22
22
  #### Code
23
23
  - To get started, you'll need JRuby with the Bundler gem installed.
24
24
 
25
- - Create a new plugin or clone and existing from the GitHub [logstash-plugins](https://github.com/logstash-plugins) organization.
25
+ - Create a new plugin or clone and existing from the GitHub [logstash-plugins](https://github.com/logstash-plugins) organization. We also provide [example plugins](https://github.com/logstash-plugins?query=example).
26
26
 
27
27
  - Install dependencies
28
28
  ```sh
@@ -31,26 +31,15 @@ bundle install
31
31
 
32
32
  #### Test
33
33
 
34
- ```sh
35
- bundle exec rspec
36
- ```
34
+ - Update your dependencies
37
35
 
38
- The Logstash code required to run the tests/specs is specified in the `Gemfile` by the line similar to:
39
- ```ruby
40
- gem "logstash", :github => "elasticsearch/logstash", :branch => "1.5"
41
- ```
42
- To test against another version or a local Logstash, edit the `Gemfile` to specify an alternative location, for example:
43
- ```ruby
44
- gem "logstash", :github => "elasticsearch/logstash", :ref => "master"
45
- ```
46
- ```ruby
47
- gem "logstash", :path => "/your/local/logstash"
36
+ ```sh
37
+ bundle install
48
38
  ```
49
39
 
50
- Then update your dependencies and run your tests:
40
+ - Run tests
51
41
 
52
42
  ```sh
53
- bundle install
54
43
  bundle exec rspec
55
44
  ```
56
45
 
@@ -58,13 +47,13 @@ bundle exec rspec
58
47
 
59
48
  #### 2.1 Run in a local Logstash clone
60
49
 
61
- - Edit Logstash `tools/Gemfile` and add the local plugin path, for example:
50
+ - Edit Logstash `Gemfile` and add the local plugin path, for example:
62
51
  ```ruby
63
52
  gem "logstash-filter-awesome", :path => "/your/local/logstash-filter-awesome"
64
53
  ```
65
- - Update Logstash dependencies
54
+ - Install plugin
66
55
  ```sh
67
- rake vendor:gems
56
+ bin/plugin install --no-verify
68
57
  ```
69
58
  - Run Logstash with your plugin
70
59
  ```sh
@@ -74,6 +63,8 @@ At this point any modifications to the plugin code will be applied to this local
74
63
 
75
64
  #### 2.2 Run in an installed Logstash
76
65
 
66
+ You can use the same **2.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:
67
+
77
68
  - Build your plugin gem
78
69
  ```sh
79
70
  gem build logstash-filter-awesome.gemspec
@@ -90,6 +81,6 @@ All contributions are welcome: ideas, patches, documentation, bug reports, compl
90
81
 
91
82
  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.
92
83
 
93
- It is more important to me that you are able to contribute.
84
+ It is more important to the community that you are able to contribute.
94
85
 
95
- 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/elasticsearch/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 = '0.1.5'
4
+ s.version = '0.1.6'
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"
@@ -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', '>= 1.4.0', '< 2.0.0'
23
+ s.add_runtime_dependency "logstash-core", '>= 1.4.0', '< 2.0.0'
24
24
 
25
25
  s.add_development_dependency 'logstash-devutils'
26
26
  end
metadata CHANGED
@@ -1,18 +1,17 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-codec-collectd
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elasticsearch
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-03 00:00:00.000000000 Z
11
+ date: 2015-02-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: logstash
15
- version_requirements: !ruby/object:Gem::Requirement
14
+ requirement: !ruby/object:Gem::Requirement
16
15
  requirements:
17
16
  - - '>='
18
17
  - !ruby/object:Gem::Version
@@ -20,7 +19,10 @@ dependencies:
20
19
  - - <
21
20
  - !ruby/object:Gem::Version
22
21
  version: 2.0.0
23
- requirement: !ruby/object:Gem::Requirement
22
+ name: logstash-core
23
+ prerelease: false
24
+ type: :runtime
25
+ version_requirements: !ruby/object:Gem::Requirement
24
26
  requirements:
25
27
  - - '>='
26
28
  - !ruby/object:Gem::Version
@@ -28,22 +30,20 @@ dependencies:
28
30
  - - <
29
31
  - !ruby/object:Gem::Version
30
32
  version: 2.0.0
31
- prerelease: false
32
- type: :runtime
33
33
  - !ruby/object:Gem::Dependency
34
- name: logstash-devutils
35
- version_requirements: !ruby/object:Gem::Requirement
34
+ requirement: !ruby/object:Gem::Requirement
36
35
  requirements:
37
36
  - - '>='
38
37
  - !ruby/object:Gem::Version
39
38
  version: '0'
40
- requirement: !ruby/object:Gem::Requirement
39
+ name: logstash-devutils
40
+ prerelease: false
41
+ type: :development
42
+ version_requirements: !ruby/object:Gem::Requirement
41
43
  requirements:
42
44
  - - '>='
43
45
  - !ruby/object:Gem::Version
44
46
  version: '0'
45
- prerelease: false
46
- type: :development
47
47
  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
48
  email: info@elasticsearch.com
49
49
  executables: []
@@ -60,7 +60,6 @@ files:
60
60
  - logstash-codec-collectd.gemspec
61
61
  - spec/codecs/collectd_spec.rb
62
62
  - vendor.json
63
- - vendor/types.db
64
63
  homepage: http://www.elasticsearch.org/guide/en/logstash/current/index.html
65
64
  licenses:
66
65
  - Apache License (2.0)
@@ -83,7 +82,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
83
82
  version: '0'
84
83
  requirements: []
85
84
  rubyforge_project:
86
- rubygems_version: 2.1.9
85
+ rubygems_version: 2.4.5
87
86
  signing_key:
88
87
  specification_version: 4
89
88
  summary: Read events from the collectd binary protocol
data/vendor/types.db DELETED
@@ -1,208 +0,0 @@
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