logstash-outputs-percy 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +8 -8
- data/lib/logstash/outputs/percy.rb +1 -1
- data/logstash-outputs-percy.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1fd519e4a7ea8caa1fe6520990b3268f996847e97f99c2ef0a8376e9eb3cd786
|
4
|
+
data.tar.gz: 32d9514c28a2ffc8535be536d83d29e547b5ec3b17e97bf2d6be329fc89ce5c8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 14aa8a5814ac32289b9c42ee746bbaab1fcafff4172e43463344918768b4c3956caba448f03d832eebfecfa2f9398ac5dbcf4d7b31105f047a2f10c1debb7b78
|
7
|
+
data.tar.gz: 9b625b0ce666c3e94cf1b9650cdf1e785d381ffd04b1dce59f454f9e9bfa401009a86ca99901dd1dcbcec82bccfaba5fe0a16fd5bb815d4c12b7907e7f62ed07
|
data/README.md
CHANGED
@@ -46,8 +46,8 @@ git clone git@github.com:elastic/logstash.git
|
|
46
46
|
cd logstash
|
47
47
|
git checkout tags/v7.16.1
|
48
48
|
export LOGSTASH_PATH="$(pwd)"
|
49
|
-
export GEM_PATH="$LOGSTASH_PATH/vendor/bundle/jruby/2.
|
50
|
-
export GEM_HOME="$LOGSTASH_PATH/vendor/bundle/jruby/2.
|
49
|
+
export GEM_PATH="$LOGSTASH_PATH/vendor/bundle/jruby/2.6.0"
|
50
|
+
export GEM_HOME="$LOGSTASH_PATH/vendor/bundle/jruby/2.6.0"
|
51
51
|
./gradlew assemble
|
52
52
|
cd ..
|
53
53
|
ruby -S bundle /config set --local path "$LOGSTASH_PATH/vendor/bundle"
|
@@ -58,7 +58,7 @@ ruby -S bundle exec rake vendor
|
|
58
58
|
### Build the plugin
|
59
59
|
|
60
60
|
```bash
|
61
|
-
gem build logstash-output-
|
61
|
+
gem build logstash-output-percy.gemspec
|
62
62
|
```
|
63
63
|
|
64
64
|
### Test
|
@@ -67,22 +67,22 @@ gem build logstash-output-loki.gemspec
|
|
67
67
|
ruby -S bundle exec rspec
|
68
68
|
```
|
69
69
|
|
70
|
-
Alternatively if you don't want to install JRuby. Enter inside logstash-
|
70
|
+
Alternatively if you don't want to install JRuby. Enter inside logstash-percy container.
|
71
71
|
|
72
72
|
```bash
|
73
|
-
docker build -t logstash-
|
74
|
-
docker run -v $(pwd)/spec:/home/logstash/spec -it --rm --entrypoint /bin/sh logstash-
|
73
|
+
docker build -t logstash-percy ./
|
74
|
+
docker run -v $(pwd)/spec:/home/logstash/spec -it --rm --entrypoint /bin/sh logstash-percy
|
75
75
|
bundle exec rspec
|
76
76
|
```
|
77
77
|
|
78
78
|
## Install plugin to local logstash
|
79
79
|
|
80
80
|
```bash
|
81
|
-
bin/logstash-plugin install --no-verify --local logstash-output-
|
81
|
+
bin/logstash-plugin install --no-verify --local logstash-output-percy-1.0.0.gem
|
82
82
|
```
|
83
83
|
|
84
84
|
## Send sample event and check plugin is working
|
85
85
|
|
86
86
|
```bash
|
87
|
-
bin/logstash -f
|
87
|
+
bin/logstash -f percy.conf
|
88
88
|
```
|