logstash-input-remote_proc 0.8.2 → 0.8.3
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 +4 -4
- data/USAGE.md +2 -2
- data/lib/logstash/inputs/remote_proc.rb +15 -0
- data/logstash-input-remote_proc.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 685e179b1a1df83b5c1c42a2b73b56a836a90c0864354407798d905c4060d4e5
|
|
4
|
+
data.tar.gz: 61679d02ee7309a162d6cc82ecfc5ad9b89b88fa061d25a38de5cb8ed0359f2e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
|
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
|
|
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.
|
|
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.
|
|
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-
|
|
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
|