logstash-input-remote_proc 0.8.2 → 0.8.3

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
  SHA256:
3
- metadata.gz: 16a3d4a5f0ca4bfc5b26bb527ef866046fea8acfdb42c523c1ab456501047752
4
- data.tar.gz: 1c1829ed9be6871d439dbf50cfe289c969dfecf977be1177ccba099269008c74
3
+ metadata.gz: 685e179b1a1df83b5c1c42a2b73b56a836a90c0864354407798d905c4060d4e5
4
+ data.tar.gz: 61679d02ee7309a162d6cc82ecfc5ad9b89b88fa061d25a38de5cb8ed0359f2e
5
5
  SHA512:
6
- metadata.gz: 1f82adbea442c3f8d12cca9954110458b947db8486f042920176df5702042debc93051bd617d3ee38af5ba6fd97c23aca3da49d694529a990d16aee742092a82
7
- data.tar.gz: 7f6a1ed62bfb3d1bf42620b42657b64081e96948631426d53fac84943b79a0b3dbb251531c4ae36e37f47c7c47ea43b221df8e717fe6ca06b1a91a287d9068a7
6
+ metadata.gz: a5d4153f9fa8e1cba8984ca222cfc04fe5d00a6db908f5c8464751720c6d9bbf9da697248e9d52c744c25e2344d604b8952029bae9dc0aa6171f105270934f0e
7
+ data.tar.gz: ed923f066808641a41bf91f335050889489f653424fed48718b84a598a2d089c7107c18af03571440fb5b311eb92505081f085ed4dd4795898e3bb6dbf358c40
data/USAGE.md CHANGED
@@ -77,7 +77,7 @@ input {
77
77
  input {
78
78
  remote_proc {
79
79
  servers => [
80
- { host => "remote.server.com" username => "medium" system_reader => "dd bs=1 2>/dev/null" proc_prefix_path => "if=/proc"},
80
+ { host => "remote.server.com" username => "medium" system_reader => "dd status=none bs=1" proc_prefix_path => "if=/proc"},
81
81
  { host => "h2.net" username => "poc" gateway_host => "h.gw.net" gateway_username => "user" }
82
82
  ]
83
83
  proc_list => ["stat", "meminfo"]
@@ -85,7 +85,7 @@ input {
85
85
  }
86
86
  ```
87
87
 
88
- With this settings, the remote cammand will be: `dd bs=1 2>/dev/null if=/proc/cpuinfo` per example.
88
+ With this settings, the remote cammand will be: `dd status=none bs=1 if=/proc/cpuinfo` or `dd bs=1 2>/dev/null if=/proc/cpuinfo`.
89
89
 
90
90
  ### With SSH server `host`, `port` and `username` and authenticate by a specific private key file
91
91
 
@@ -67,6 +67,21 @@ module LogStash
67
67
  # }
68
68
  # -------------------------------------------------------------------------
69
69
  #
70
+ # -------------------------------------------------------------------------
71
+ # Example with specific server tags.
72
+ # [source,ruby]
73
+ # -------------------------------------------------------------------------
74
+ # input {
75
+ # remote_proc {
76
+ # servers => [
77
+ # { host => "remote.server.com" username => "medium" server_tags => "traefik, nginx, etcd"},
78
+ # { host => "h2.net" username => "poc" gateway_host => "h.gw.net" server_tags => "redis" }
79
+ # ]
80
+ # proc_list => ["stat", "meminfo"]
81
+ # }
82
+ # }
83
+ # -------------------------------------------------------------------------
84
+ #
70
85
  class RemoteProc < LogStash::Inputs::Base
71
86
  # Describe valid keys and default values in `@servers` parameter.
72
87
  SERVER_OPTIONS = {
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'logstash-input-remote_proc'
3
- s.version = '0.8.2'
3
+ s.version = '0.8.3'
4
4
  s.licenses = ['Apache-2.0']
5
5
  s.summary = 'This Logstash plugin collects PROCFS metrics through remote SSH servers.'
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/logstash-plugin install gemname. This gem is not a stand-alone program'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-input-remote_proc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.2
4
+ version: 0.8.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christian Kakesa
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-10-30 00:00:00.000000000 Z
11
+ date: 2017-10-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement