logstash-filter-csv 3.0.8 → 3.0.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/VERSION +1 -0
- data/docs/index.asciidoc +8 -3
- data/logstash-filter-csv.gemspec +3 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fda0b58c576a11c9477b4f45f323f560081e02e120b118d2aaadba549b13af86
|
4
|
+
data.tar.gz: 9f0fc5b0a0f53d3efbfb0def7fb4241b2886ff96921861bed6e7ee6b54c2000e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c7e952a2cd20331f91d775296515c6e63af719669e95af6704a50b0b92d94f6227f96466b8365818cec25855fab9c9c710720ee2f3250c01f747f0f7070d44f6
|
7
|
+
data.tar.gz: 0b45c7ef78977db956e38b8034445711bdb2a352f439980b841ae7f4a9bdc8788d42e2537ac7baddc6e38fd07c0c8ceded63abc6290c1555fcf3a38c4ced60e6
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,10 @@
|
|
1
|
+
## 3.0.10
|
2
|
+
- Fix asciidoc formatting for example [#73](https://github.com/logstash-plugins/logstash-filter-csv/pull/73)
|
3
|
+
|
4
|
+
## 3.0.9
|
5
|
+
- Document that the `autodetect_column_names` and `skip_header` options work only when the number of Logstash
|
6
|
+
pipeline workers is set to `1`.
|
7
|
+
|
1
8
|
## 3.0.8
|
2
9
|
- feature: Added support for tagging empty rows which users can reference to conditionally drop events
|
3
10
|
|
data/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
3.0.10
|
data/docs/index.asciidoc
CHANGED
@@ -21,8 +21,8 @@ include::{include_path}/plugin_header.asciidoc[]
|
|
21
21
|
==== Description
|
22
22
|
|
23
23
|
The CSV filter takes an event field containing CSV data, parses it,
|
24
|
-
and stores it as individual fields
|
25
|
-
This filter can
|
24
|
+
and stores it as individual fields with optionally-specified field names.
|
25
|
+
This filter can parse data with any separator, not just commas.
|
26
26
|
|
27
27
|
[id="plugins-{type}s-{plugin}-options"]
|
28
28
|
==== Csv Filter Configuration Options
|
@@ -59,6 +59,8 @@ filter plugins.
|
|
59
59
|
Define whether column names should be auto-detected from the header column or not.
|
60
60
|
Defaults to false.
|
61
61
|
|
62
|
+
Logstash pipeline workers must be set to `1` for this option to work.
|
63
|
+
|
62
64
|
[id="plugins-{type}s-{plugin}-autogenerate_column_names"]
|
63
65
|
===== `autogenerate_column_names`
|
64
66
|
|
@@ -90,7 +92,8 @@ in the data than specified in this column list, extra columns will be auto-numbe
|
|
90
92
|
Define a set of datatype conversions to be applied to columns.
|
91
93
|
Possible conversions are integer, float, date, date_time, boolean
|
92
94
|
|
93
|
-
|
95
|
+
Example:
|
96
|
+
|
94
97
|
[source,ruby]
|
95
98
|
filter {
|
96
99
|
csv {
|
@@ -156,6 +159,8 @@ If skip_header and autodetect_column_names are specified then columns should not
|
|
156
159
|
autodetect_column_names will fill the columns setting in the background, from the first event seen, and any
|
157
160
|
subsequent values that match what was autodetected will be skipped.
|
158
161
|
|
162
|
+
Logstash pipeline workers must be set to `1` for this option to work.
|
163
|
+
|
159
164
|
[id="plugins-{type}s-{plugin}-source"]
|
160
165
|
===== `source`
|
161
166
|
|
data/logstash-filter-csv.gemspec
CHANGED
@@ -1,7 +1,9 @@
|
|
1
|
+
CSV_VERSION = File.read(File.expand_path(File.join(File.dirname(__FILE__), "VERSION"))).strip unless defined?(CSV_VERSION)
|
2
|
+
|
1
3
|
Gem::Specification.new do |s|
|
2
4
|
|
3
5
|
s.name = 'logstash-filter-csv'
|
4
|
-
s.version =
|
6
|
+
s.version = CSV_VERSION
|
5
7
|
s.licenses = ['Apache License (2.0)']
|
6
8
|
s.summary = "Parses comma-separated value data into individual fields"
|
7
9
|
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-filter-csv
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.10
|
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: 2019-04-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
@@ -58,6 +58,7 @@ files:
|
|
58
58
|
- LICENSE
|
59
59
|
- NOTICE.TXT
|
60
60
|
- README.md
|
61
|
+
- VERSION
|
61
62
|
- docs/index.asciidoc
|
62
63
|
- lib/logstash/filters/csv.rb
|
63
64
|
- logstash-filter-csv.gemspec
|