logstash-output-file 4.2.1 → 4.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/CHANGELOG.md +3 -0
- data/LICENSE +1 -1
- data/docs/index.asciidoc +17 -9
- data/logstash-output-file.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c5d14cba1cbaf243240e2473742196661c7f1bce4d33c3481a74aecf702db61b
|
|
4
|
+
data.tar.gz: 549b84b9a98dcf53bf0015e4aed4297e2f6d6a3ad3e5a4b587d2c6d83aab8071
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 21e184fc5ce387e10b07910c95e6fc476a6e1f00bf531eff95c32d930da11c1191d6f7026f7b90ff0f8c91e22a6bc51f5706e7ddb22cbf5b525b0c41bf296971
|
|
7
|
+
data.tar.gz: '0880e0cbc6a742602d42b48afbead841cb480743ecd5de7f3bbf308c753a138c5fe5c31afa0755479ece1fe9c7b1e515ac8e08b9ecb7305d4dc46542cd4ecc43'
|
data/CHANGELOG.md
CHANGED
data/LICENSE
CHANGED
data/docs/index.asciidoc
CHANGED
|
@@ -48,6 +48,7 @@ This plugin supports the following configuration options plus the <<plugins-{typ
|
|
|
48
48
|
| <<plugins-{type}s-{plugin}-flush_interval>> |<<number,number>>|No
|
|
49
49
|
| <<plugins-{type}s-{plugin}-gzip>> |<<boolean,boolean>>|No
|
|
50
50
|
| <<plugins-{type}s-{plugin}-path>> |<<string,string>>|Yes
|
|
51
|
+
| <<plugins-{type}s-{plugin}-write_behavior>> |<<string,string>>|No
|
|
51
52
|
|=======================================================================
|
|
52
53
|
|
|
53
54
|
Also see <<plugins-{type}s-{plugin}-common-options>> for a list of options supported by all
|
|
@@ -56,16 +57,16 @@ output plugins.
|
|
|
56
57
|
|
|
57
58
|
|
|
58
59
|
[id="plugins-{type}s-{plugin}-create_if_deleted"]
|
|
59
|
-
===== `create_if_deleted`
|
|
60
|
+
===== `create_if_deleted`
|
|
60
61
|
|
|
61
62
|
* Value type is <<boolean,boolean>>
|
|
62
63
|
* Default value is `true`
|
|
63
64
|
|
|
64
|
-
If the configured file is deleted, but an event is handled by the plugin,
|
|
65
|
+
If the configured file is deleted, but an event is handled by the plugin,
|
|
65
66
|
the plugin will recreate the file. Default => true
|
|
66
67
|
|
|
67
68
|
[id="plugins-{type}s-{plugin}-dir_mode"]
|
|
68
|
-
===== `dir_mode`
|
|
69
|
+
===== `dir_mode`
|
|
69
70
|
|
|
70
71
|
* Value type is <<number,number>>
|
|
71
72
|
* Default value is `-1`
|
|
@@ -76,7 +77,7 @@ Setting it to -1 uses default OS value.
|
|
|
76
77
|
Example: `"dir_mode" => 0750`
|
|
77
78
|
|
|
78
79
|
[id="plugins-{type}s-{plugin}-file_mode"]
|
|
79
|
-
===== `file_mode`
|
|
80
|
+
===== `file_mode`
|
|
80
81
|
|
|
81
82
|
* Value type is <<number,number>>
|
|
82
83
|
* Default value is `-1`
|
|
@@ -87,7 +88,7 @@ Setting it to -1 uses default OS value.
|
|
|
87
88
|
Example: `"file_mode" => 0640`
|
|
88
89
|
|
|
89
90
|
[id="plugins-{type}s-{plugin}-filename_failure"]
|
|
90
|
-
===== `filename_failure`
|
|
91
|
+
===== `filename_failure`
|
|
91
92
|
|
|
92
93
|
* Value type is <<string,string>>
|
|
93
94
|
* Default value is `"_filepath_failures"`
|
|
@@ -96,7 +97,7 @@ If the generated path is invalid, the events will be saved
|
|
|
96
97
|
into this file and inside the defined path.
|
|
97
98
|
|
|
98
99
|
[id="plugins-{type}s-{plugin}-flush_interval"]
|
|
99
|
-
===== `flush_interval`
|
|
100
|
+
===== `flush_interval`
|
|
100
101
|
|
|
101
102
|
* Value type is <<number,number>>
|
|
102
103
|
* Default value is `2`
|
|
@@ -105,7 +106,7 @@ Flush interval (in seconds) for flushing writes to log files.
|
|
|
105
106
|
0 will flush on every message.
|
|
106
107
|
|
|
107
108
|
[id="plugins-{type}s-{plugin}-gzip"]
|
|
108
|
-
===== `gzip`
|
|
109
|
+
===== `gzip`
|
|
109
110
|
|
|
110
111
|
* Value type is <<boolean,boolean>>
|
|
111
112
|
* Default value is `false`
|
|
@@ -113,7 +114,7 @@ Flush interval (in seconds) for flushing writes to log files.
|
|
|
113
114
|
Gzip the output stream before writing to disk.
|
|
114
115
|
|
|
115
116
|
[id="plugins-{type}s-{plugin}-path"]
|
|
116
|
-
===== `path`
|
|
117
|
+
===== `path`
|
|
117
118
|
|
|
118
119
|
* This is a required setting.
|
|
119
120
|
* Value type is <<string,string>>
|
|
@@ -130,7 +131,14 @@ E.g.: `path => "./test-%{+YYYY-MM-dd}.txt"` to create
|
|
|
130
131
|
If you use an absolute path you cannot start with a dynamic string.
|
|
131
132
|
E.g: `/%{myfield}/`, `/test-%{myfield}/` are not valid paths
|
|
132
133
|
|
|
134
|
+
[id="plugins-{type}s-{plugin}-write_behavior"]
|
|
135
|
+
===== `write_behavior`
|
|
133
136
|
|
|
137
|
+
* Value type is <<string,string>>
|
|
138
|
+
* Default value is `append`
|
|
139
|
+
|
|
140
|
+
If `append`, the file will be opened for appending and each new event will be written at the end of the file.
|
|
141
|
+
If `overwrite`, the file will be truncated before writing and only the most recent event will appear in the file.
|
|
134
142
|
|
|
135
143
|
[id="plugins-{type}s-{plugin}-common-options"]
|
|
136
|
-
include::{include_path}/{type}.asciidoc[]
|
|
144
|
+
include::{include_path}/{type}.asciidoc[]
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Gem::Specification.new do |s|
|
|
2
2
|
|
|
3
3
|
s.name = 'logstash-output-file'
|
|
4
|
-
s.version = '4.2.
|
|
4
|
+
s.version = '4.2.2'
|
|
5
5
|
s.licenses = ['Apache License (2.0)']
|
|
6
6
|
s.summary = "Writes 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.2.
|
|
4
|
+
version: 4.2.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Elastic
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2018-03-21 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|