logstash-output-file 4.0.2 → 4.1.0

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: e143e3304bce2de4661eda2c3530f0c12d9fb92c
4
- data.tar.gz: 2dce1e652301a8aac23edf284b43d9dba7ace304
3
+ metadata.gz: 423a4135e24f6d54364dfb9043a8812955f11bb2
4
+ data.tar.gz: f4165f97e953fbcba3cb964fd43cb3114dbca947
5
5
  SHA512:
6
- metadata.gz: 9458c1873ac9a0f2d8a1dc723cd772bb1f9a5e14a202eb34ccab67199e0a281de790933c9bb8b19c31253448313ad780e027768dc14f06ae009598ef6a1bc621
7
- data.tar.gz: 06dff36877a2a496473fdf11c123712833f4572f9bf57e5e71a28e0286fdd12917edd67eabeee0936d3c149019bd8c3b2b3f2358fa08d297764486ab61353024
6
+ metadata.gz: 1c58a472651527096fb9659ccc89b3a94164bcd662e3aaacd051e52e92ccf2f2ac645348bfc8f85162f69389e0bb7f7500be942a376dbca5bda53b2cbd27b1d0
7
+ data.tar.gz: 63ffe90719a3ba55c9636da805bb86b315dafb858376015d490242cc66bd8b8f70a806d49282e3087dbe7fd9153be1f9657eb41c95c6e90dff836d65fda461b8
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## 4.1.0
2
+ - Remove obsolete option `message_format`
3
+
1
4
  ## 4.0.1
2
5
  - Move one log message from info to debug to avoid noise
3
6
 
data/docs/index.asciidoc CHANGED
@@ -12,7 +12,7 @@ START - GENERATED VARIABLES, DO NOT EDIT!
12
12
  END - GENERATED VARIABLES, DO NOT EDIT!
13
13
  ///////////////////////////////////////////
14
14
 
15
- [id="plugins-{type}-{plugin}"]
15
+ [id="plugins-{type}s-{plugin}"]
16
16
 
17
17
  === File output plugin
18
18
 
@@ -37,8 +37,6 @@ class LogStash::Outputs::File < LogStash::Outputs::Base
37
37
  # E.g: `/%{myfield}/`, `/test-%{myfield}/` are not valid paths
38
38
  config :path, :validate => :string, :required => true
39
39
 
40
- config :message_format, :validate => :string, :obsolete => "You can achieve the same behavior with the 'line' codec"
41
-
42
40
  # Flush interval (in seconds) for flushing writes to log files.
43
41
  # 0 will flush on every message.
44
42
  config :flush_interval, :validate => :number, :default => 2
@@ -92,11 +90,6 @@ class LogStash::Outputs::File < LogStash::Outputs::Base
92
90
  @last_stale_cleanup_cycle = now
93
91
  @flush_interval = @flush_interval.to_i
94
92
  @stale_cleanup_interval = 10
95
-
96
- if @message_format
97
- @codec = LogStash::Plugin.lookup("codec", "line").new
98
- @codec.format = @message_format
99
- end
100
93
  end # def register
101
94
 
102
95
  private
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-output-file'
4
- s.version = '4.0.2'
4
+ s.version = '4.1.0'
5
5
  s.licenses = ['Apache License (2.0)']
6
6
  s.summary = "This output will write events to files on disk"
7
7
  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-output-file
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.2
4
+ version: 4.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elastic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-06-23 00:00:00.000000000 Z
11
+ date: 2017-08-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement