logstash-output-qingstor 0.2.2 → 0.2.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
  SHA1:
3
- metadata.gz: 40b0b5875b4b897feae16ace89fbacd458b3a851
4
- data.tar.gz: ca7be7a607c98fbad1e5b7aee8754ef895933fe8
3
+ metadata.gz: 311b8d52d7f5c1ec8a8df02290a300564a54937b
4
+ data.tar.gz: 5ab7bbaaebbfece310b696b0a78a8fcd4d99bf95
5
5
  SHA512:
6
- metadata.gz: 9914163d5c2cc486105ab1a65f90db8c83d57906f731591fc1fe8b6fb32e30f937400e203a8710e5043fc4de682da38649ed6baca5e2de50104131b36e4ddb24
7
- data.tar.gz: 02b423672b8cd6fcac430e0a28583aac8377a3f9b2dc7b8245c1b65f07ce967f511aff43a25f3e89036d97e9590b2c13eff9118986a30354c1caaf531cf574a4
6
+ metadata.gz: 417cb1fe4f01e8f3ade96cf1b3cdb4e5840b8c11e72859d223c4cedab72ed011576e153362c8ecf8e3829f31a2cb492ae20e75a8ef97a2c77ba3292e3f3779a4
7
+ data.tar.gz: 83073c3bd2af3c3518080654fc596514d080664242a866811cf286944a93b95231b0124b430620d3c0c9a45004614a6c8eb04e97abc56addfccd2035c5e10a58
data/README.md CHANGED
@@ -4,12 +4,20 @@ English | [中文](/README_zh_CN.md)
4
4
 
5
5
  As an output plugin, it can collect the outputs from logstash, and store them in [QingStor](https://www.qingcloud.com/products/storage#qingstor), which is a remarkable object storage service provided by [QingCloud](https://www.qingcloud.com/).
6
6
 
7
+ > Current logstash release(5.5.x) has compatibility issues with this plugin, some unknown errors may cause the uploading failing. Please use the previous releases of logstash, such as version 5.4.3.
8
+
7
9
  For now, We've submitted this plugin to rubygems.org. Use the following command to install.
8
10
 
9
11
  ``` bash
10
12
  $ bin/logstash-plugin install logstash-output-qingstor
11
13
  ```
12
14
 
15
+ If you have installed a previous release, please use the folliwing command to update.
16
+
17
+ ```bash
18
+ $ bin/logstash-plugin update logstash-output-qingstor
19
+ ```
20
+
13
21
  If want to install the local code, please refer to the following guide to install it manually.
14
22
 
15
23
  ## 1. Configuration Guide
@@ -193,7 +193,7 @@ class LogStash::Outputs::Qingstor < LogStash::Outputs::Base
193
193
 
194
194
  @logger.debug('uploading current workspace')
195
195
  @file_repository.each_files do |file|
196
- upload_file(file)
196
+ upload_file(file) if @rotation.rotate?(file)
197
197
  end
198
198
 
199
199
  @file_repository.shutdown
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'logstash-output-qingstor'
3
- s.version = '0.2.2'
3
+ s.version = '0.2.3'
4
4
  s.licenses = ['Apache License (2.0)']
5
5
  s.summary = 'logstash output plugin for qingstor'
6
6
  s.description = 'Collect the outputs of logstash and store into Qingstor'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-output-qingstor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Evan Zhao