You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the configured file is deleted, but an event is handled by the plugin,
62
+
If the configured file is deleted, but an event is handled by the plugin,
63
63
the plugin will recreate the file. Default => true
64
64
65
65
[id="plugins-{type}s-{plugin}-csv_options"]
66
-
===== `csv_options`
66
+
===== `csv_options`
67
67
68
68
* Value type is <<hash,hash>>
69
69
* Default value is `{}`
@@ -73,7 +73,7 @@ Full documentation is available on the http://ruby-doc.org/stdlib-2.0.0/libdoc/c
73
73
A typical use case would be to use alternative column or row separators eg: `csv_options => {"col_sep" => "\t" "row_sep" => "\r\n"}` gives tab separated data with windows line endings
74
74
75
75
[id="plugins-{type}s-{plugin}-dir_mode"]
76
-
===== `dir_mode`
76
+
===== `dir_mode`
77
77
78
78
* Value type is <<number,number>>
79
79
* Default value is `-1`
@@ -84,7 +84,7 @@ Setting it to -1 uses default OS value.
84
84
Example: `"dir_mode" => 0750`
85
85
86
86
[id="plugins-{type}s-{plugin}-fields"]
87
-
===== `fields`
87
+
===== `fields`
88
88
89
89
* This is a required setting.
90
90
* Value type is <<array,array>>
@@ -96,7 +96,7 @@ If a field does not exist on the event, an empty string will be written.
96
96
Supports field reference syntax eg: `fields => ["field1", "[nested][field]"]`.
97
97
98
98
[id="plugins-{type}s-{plugin}-file_mode"]
99
-
===== `file_mode`
99
+
===== `file_mode`
100
100
101
101
* Value type is <<number,number>>
102
102
* Default value is `-1`
@@ -107,7 +107,7 @@ Setting it to -1 uses default OS value.
107
107
Example: `"file_mode" => 0640`
108
108
109
109
[id="plugins-{type}s-{plugin}-filename_failure"]
110
-
===== `filename_failure`
110
+
===== `filename_failure`
111
111
112
112
* Value type is <<string,string>>
113
113
* Default value is `"_filepath_failures"`
@@ -116,7 +116,7 @@ If the generated path is invalid, the events will be saved
116
116
into this file and inside the defined path.
117
117
118
118
[id="plugins-{type}s-{plugin}-flush_interval"]
119
-
===== `flush_interval`
119
+
===== `flush_interval`
120
120
121
121
* Value type is <<number,number>>
122
122
* Default value is `2`
@@ -125,15 +125,15 @@ Flush interval (in seconds) for flushing writes to log files.
125
125
0 will flush on every message.
126
126
127
127
[id="plugins-{type}s-{plugin}-gzip"]
128
-
===== `gzip`
128
+
===== `gzip`
129
129
130
130
* Value type is <<boolean,boolean>>
131
131
* Default value is `false`
132
132
133
133
Gzip the output stream before writing to disk.
134
134
135
135
[id="plugins-{type}s-{plugin}-path"]
136
-
===== `path`
136
+
===== `path`
137
137
138
138
* This is a required setting.
139
139
* Value type is <<string,string>>
@@ -148,7 +148,7 @@ You can customise the line format using the `line` codec like:
148
148
[source,ruby]
149
149
-----
150
150
output {
151
-
file {
151
+
csv {
152
152
path => ...
153
153
codec => line { format => "custom format: %{message}"}
154
154
}
@@ -167,7 +167,7 @@ If you use an absolute path you cannot start with a dynamic string.
167
167
E.g: `/%{myfield}/`, `/test-%{myfield}/` are not valid paths
168
168
169
169
[id="plugins-{type}s-{plugin}-spreadsheet_safe"]
170
-
===== `spreadsheet_safe`
170
+
===== `spreadsheet_safe`
171
171
172
172
* Value type is <<boolean,boolean>>
173
173
* Default value is `true`
@@ -181,4 +181,4 @@ may not make the values safe in your spreadsheet application
0 commit comments