logstash-codec-mtrraw 0.2.1 → 0.2.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 +4 -4
- data/README.md +4 -3
- data/agent/mtrtrace-dns.sh +1 -1
- data/agent/mtrtrace.sh +1 -1
- data/logstash-codec-mtrraw.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2360ecc977645e3d550a3b5254b357b4f066aaea
|
|
4
|
+
data.tar.gz: 09767dade66ed43fb0b97ff411c57e06bcbd326e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8513b4b70dcb11ddae0ab7a11ec679c257bcf6c22d3e8ee01cb88da2696ad1ad87e5e4be69f3384f713206cd2d34e920208026a2d01c3bcafc0a355c49639d20
|
|
7
|
+
data.tar.gz: c024f3d5d75606669e3c290e78bc77b5d3999121a94c20cce0d789a5bdb0be79d9875e42d86ec29998ab2991c631fe40f964d677bb518373c3702d4e5fe89e3c
|
data/README.md
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
#
|
|
1
|
+
# logstash-codec-mtrraw
|
|
2
2
|
|
|
3
|
-
This is a plugin for [Logstash](https://github.com/elastic/logstash).
|
|
3
|
+
This is a codec 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
|
-
The logstash mtrraw codec wraps together a bunch of logic that makes it easy to use mtr --raw output in your ELK infrastructure
|
|
9
|
+
The logstash mtrraw codec wraps together a bunch of logic that makes it easy to use mtr --raw output in your ELK infrastructure (or whatever you're
|
|
10
|
+
sending logstash data to).
|
|
10
11
|
|
|
11
12
|
### Installation
|
|
12
13
|
|
data/agent/mtrtrace-dns.sh
CHANGED
|
@@ -13,5 +13,5 @@ if [ -z "$1" ] ; then
|
|
|
13
13
|
exit
|
|
14
14
|
fi
|
|
15
15
|
|
|
16
|
-
while true ; do echo -n '.'; (echo "s 0 $ORIGIN_NAME $TARGET_NAME
|
|
16
|
+
while true ; do echo -n '.'; (echo "s 0 $ORIGIN_NAME $TARGET_NAME $PING_COUNT";mtr --raw -c $PING_COUNT $TARGET_IP ) | awk '{printf $0";"}' | nc $LOGSTASH_IP $LOGSTASH_PORT ; done
|
|
17
17
|
|
data/agent/mtrtrace.sh
CHANGED
|
@@ -13,5 +13,5 @@ if [ -z "$1" ] ; then
|
|
|
13
13
|
exit
|
|
14
14
|
fi
|
|
15
15
|
|
|
16
|
-
while true ; do echo -n '.'; (echo "s 0 $ORIGIN_NAME $TARGET_NAME
|
|
16
|
+
while true ; do echo -n '.'; (echo "s 0 $ORIGIN_NAME $TARGET_NAME $PING_COUNT";mtr --raw --no-dns -c $PING_COUNT $TARGET_IP ) | awk '{printf $0";"}' | nc $LOGSTASH_IP $LOGSTASH_PORT ; done
|
|
17
17
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Gem::Specification.new do |s|
|
|
2
2
|
s.name = 'logstash-codec-mtrraw'
|
|
3
|
-
s.version = '0.2.
|
|
3
|
+
s.version = '0.2.2'
|
|
4
4
|
s.licenses = ['Apache License (2.0)']
|
|
5
5
|
s.summary = 'Converts optionally overloaded mtr --raw data to an event'
|
|
6
6
|
s.description = 'Turn mtr --raw events with optional overloading into logstash events. see docs'
|