logstash-output-loki 1.0.3 → 1.0.4

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: a76f3826de04d39e57f06c522125adfc150e1b9c44dee915cb5a220e829b5ae6
4
- data.tar.gz: d4f881165097a6c04dcef15eca32f3570f0d35453a16713e5da1a50e022876d0
3
+ metadata.gz: 1b8d307f78ff3b06b017c8e44c8a814e48a8a29248244055559abffa7727ebc5
4
+ data.tar.gz: 9218364927282f2271517ce49326b67a6c38a5cdbd28b54010e5cf4b0ad9d37e
5
5
  SHA512:
6
- metadata.gz: 706a86a1852e2b2e97bbd340904b1a0a72751beca4ca4257bfbd66683e0c3a7fe5a54d273666c2da98947b84270b4e9544fe36b6e1742877ccffcbf67fe090bc
7
- data.tar.gz: 5710b40ac392fa8e82c29343f22b444ce12284023497da3d0cb9c28049b81811ece3bcf431e5b948b7c60dd29c941dcd3c508289fc9a2d49faf5331eda893f69
6
+ metadata.gz: 63a598ad87b1d96e308db1773fc724e599c06933479f3c9e37ed7bd667f6ea719a9ba27ce3c2c4d4f9fb65f24bc11c893f0a04e34263262ba6c9181cbc6be2af
7
+ data.tar.gz: 2da45f13f4d77ee10e4224dbe4e350916e1f8cecb2fbcedd105660d7f7e2d9bc4fabfd5e602c39f7965c8ebb016599266bf1f4734db0add4323c15a9e1d6054b
data/README.md CHANGED
@@ -29,8 +29,11 @@ export PATH="$HOME/.rbenv/bin:$PATH"
29
29
  eval "$(rbenv init -)"
30
30
  ```
31
31
 
32
- Then install bundler
33
- `gem install bundler:2.1.4`
32
+ Then install bundler:
33
+
34
+ ```bash
35
+ gem install bundler:2.1.4
36
+ ```
34
37
 
35
38
  Follow those instructions to [install logstash](https://www.elastic.co/guide/en/logstash/current/installing-logstash.html) before moving to the next section.
36
39
 
@@ -41,36 +44,45 @@ Follow those instructions to [install logstash](https://www.elastic.co/guide/en/
41
44
  ```bash
42
45
  git clone git@github.com:elastic/logstash.git
43
46
  cd logstash
44
- git checkout tags/v7.6.2
45
- export LOGSTASH_PATH=`pwd`
46
- export GEM_PATH=$LOGSTASH_PATH/vendor/bundle/jruby/2.5.0
47
- export GEM_HOME=$LOGSTASH_PATH/vendor/bundle/jruby/2.5.0
47
+ git checkout tags/v7.16.1
48
+ export LOGSTASH_PATH="$(pwd)"
49
+ export GEM_PATH="$LOGSTASH_PATH/vendor/bundle/jruby/2.5.0"
50
+ export GEM_HOME="$LOGSTASH_PATH/vendor/bundle/jruby/2.5.0"
48
51
  ./gradlew assemble
49
52
  cd ..
53
+ ruby -S bundle config set --local path "$LOGSTASH_PATH/vendor/bundle"
50
54
  ruby -S bundle install
51
55
  ruby -S bundle exec rake vendor
52
56
  ```
53
57
 
54
58
  ### Build the plugin
55
59
 
56
- `gem build logstash-output-loki.gemspec`
60
+ ```bash
61
+ gem build logstash-output-loki.gemspec
62
+ ```
57
63
 
58
64
  ### Test
59
65
 
60
- `ruby -S bundle exec rspec`
66
+ ```bash
67
+ ruby -S bundle exec rspec
68
+ ```
61
69
 
62
70
  Alternatively if you don't want to install JRuby. Enter inside logstash-loki container.
63
71
 
64
72
  ```bash
65
73
  docker build -t logstash-loki ./
66
- docker run -v `pwd`/spec:/home/logstash/spec -it --rm --entrypoint /bin/sh logstash-loki
74
+ docker run -v $(pwd)/spec:/home/logstash/spec -it --rm --entrypoint /bin/sh logstash-loki
67
75
  bundle exec rspec
68
76
  ```
69
77
 
70
78
  ## Install plugin to local logstash
71
79
 
72
- `bin/logstash-plugin install --no-verify --local logstash-output-loki-1.0.0.gem`
80
+ ```bash
81
+ bin/logstash-plugin install --no-verify --local logstash-output-loki-1.0.0.gem
82
+ ```
73
83
 
74
84
  ## Send sample event and check plugin is working
75
85
 
76
- `bin/logstash -f loki.conf`
86
+ ```bash
87
+ bin/logstash -f loki.conf
88
+ ```
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'logstash-output-loki'
3
- s.version = '1.0.3'
3
+ s.version = '1.0.4'
4
4
  s.authors = ['Aditya C S','Cyril Tovena']
5
5
  s.email = ['aditya.gnu@gmail.com','cyril.tovena@grafana.com']
6
6
 
@@ -21,6 +21,6 @@ Gem::Specification.new do |s|
21
21
  # Gem dependencies
22
22
  #
23
23
  s.add_runtime_dependency "logstash-core-plugin-api", ">= 1.60", "<= 2.99"
24
- s.add_runtime_dependency "logstash-codec-plain", "3.0.6"
24
+ s.add_runtime_dependency "logstash-codec-plain", "3.1.0"
25
25
  s.add_development_dependency 'logstash-devutils', "2.0.2"
26
26
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-output-loki
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aditya C S
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2020-11-13 00:00:00.000000000 Z
12
+ date: 2022-01-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: logstash-core-plugin-api
@@ -37,14 +37,14 @@ dependencies:
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 3.0.6
40
+ version: 3.1.0
41
41
  type: :runtime
42
42
  prerelease: false
43
43
  version_requirements: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - '='
46
46
  - !ruby/object:Gem::Version
47
- version: 3.0.6
47
+ version: 3.1.0
48
48
  - !ruby/object:Gem::Dependency
49
49
  name: logstash-devutils
50
50
  requirement: !ruby/object:Gem::Requirement
@@ -96,7 +96,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
96
96
  - !ruby/object:Gem::Version
97
97
  version: '0'
98
98
  requirements: []
99
- rubygems_version: 3.0.3
99
+ rubygems_version: 3.0.3.1
100
100
  signing_key:
101
101
  specification_version: 4
102
102
  summary: Output plugin to ship logs to a Grafana Loki server