logstash-filter-json 3.0.5 → 3.0.6

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
  SHA256:
3
- metadata.gz: 901cffe5a5ce6505bf2f526f1d2dff7ed383bf49decc13517e7ce2a79dee0f5b
4
- data.tar.gz: 1f03087447ff7e5d7ea36730fc51982aa73558fdbfe7365e3241d05d442b8309
3
+ metadata.gz: 2ddf0449d8e4b3c20ad42da931a88623695222c346815463d100f184deb39a41
4
+ data.tar.gz: bd1c0786156077172f52eb2998b86030ec8524ed341a8b17544942f5b662f69e
5
5
  SHA512:
6
- metadata.gz: ceda74bfd5767ef968e1b953f9b025bfb6438c6aa3a857fd1a69f7b02b26ca3b0ae1f9205a976530fc432af61eb57cc73665da326a4d7942009ad02783c00763
7
- data.tar.gz: 38b27202d86da5e77fc171d1d3c3b7c9e417ac9c931a77946c4522a28154e498aed1a09d48f6778b58f9e8acd41c3ba1bbb947e70443ae8afb2cbe3d1d10847c
6
+ metadata.gz: 191f3b6b17ae2d93c10d763fbe765bead21e1e6932986dd188a493d5e616245f2d9e6ec1956b3fbe29edfa9e3aa98a828d803b51fd12a18bd6fa860f26813700
7
+ data.tar.gz: 0a7189b4d3249b2a249b263c5fdfe0180b164f633fa2d90a1ec9d979cbdd0e9b18a02ff3fd92e9addc351699188074e93bea1ef43630ac42e4b6d5aa8c6b597c
@@ -1,3 +1,6 @@
1
+ ## 3.0.6
2
+ - Updated documentation with some clarifications and fixes
3
+
1
4
  ## 3.0.5
2
5
  - Update gemspec summary
3
6
 
data/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2012–2016 Elasticsearch <http://www.elastic.co>
1
+ Copyright (c) 2012-2018 Elasticsearch <http://www.elastic.co>
2
2
 
3
3
  Licensed under the Apache License, Version 2.0 (the "License");
4
4
  you may not use this file except in compliance with the License.
@@ -14,7 +14,7 @@ END - GENERATED VARIABLES, DO NOT EDIT!
14
14
 
15
15
  [id="plugins-{type}s-{plugin}"]
16
16
 
17
- === Json filter plugin
17
+ === JSON filter plugin
18
18
 
19
19
  include::{include_path}/plugin_header.asciidoc[]
20
20
 
@@ -23,21 +23,21 @@ include::{include_path}/plugin_header.asciidoc[]
23
23
  This is a JSON parsing filter. It takes an existing field which contains JSON and
24
24
  expands it into an actual data structure within the Logstash event.
25
25
 
26
- By default it will place the parsed JSON in the root (top level) of the Logstash event, but this
26
+ By default, it will place the parsed JSON in the root (top level) of the Logstash event, but this
27
27
  filter can be configured to place the JSON into any arbitrary event field, using the
28
28
  `target` configuration.
29
29
 
30
- This plugin has a few fallback scenario when something bad happen during the parsing of the event.
31
- If the JSON parsing fails on the data, the event will be untouched and it will be tagged with a
32
- `_jsonparsefailure` then you can use conditionals to clean the data. You can configured this tag with then
30
+ This plugin has a few fallback scenarios when something bad happens during the parsing of the event.
31
+ If the JSON parsing fails on the data, the event will be untouched and it will be tagged with
32
+ `_jsonparsefailure`; you can then use conditionals to clean the data. You can configure this tag with the
33
33
  `tag_on_failure` option.
34
34
 
35
- If the parsed data contains a `@timestamp` field, we will try to use it for the event's `@timestamp`, if the
35
+ If the parsed data contains a `@timestamp` field, the plugin will try to use it for the events `@timestamp`, and if the
36
36
  parsing fails, the field will be renamed to `_@timestamp` and the event will be tagged with a
37
37
  `_timestampparsefailure`.
38
38
 
39
39
  [id="plugins-{type}s-{plugin}-options"]
40
- ==== Json Filter Configuration Options
40
+ ==== JSON Filter Configuration Options
41
41
 
42
42
  This plugin supports the following configuration options plus the <<plugins-{type}s-{plugin}-common-options>> described later.
43
43
 
@@ -61,7 +61,7 @@ filter plugins.
61
61
  * Value type is <<boolean,boolean>>
62
62
  * Default value is `false`
63
63
 
64
- Allow to skip filter on invalid json (allows to handle json and non-json data without warnings)
64
+ Allows for skipping the filter on invalid JSON (this allows you to handle JSON and non-JSON data without warnings)
65
65
 
66
66
  [id="plugins-{type}s-{plugin}-source"]
67
67
  ===== `source`
@@ -82,7 +82,7 @@ For example, if you have JSON data in the `message` field:
82
82
  }
83
83
  }
84
84
 
85
- The above would parse the json from the `message` field
85
+ The above would parse the JSON from the `message` field.
86
86
 
87
87
  [id="plugins-{type}s-{plugin}-tag_on_failure"]
88
88
  ===== `tag_on_failure`
@@ -118,4 +118,4 @@ NOTE: if the `target` field already exists, it will be overwritten!
118
118
 
119
119
 
120
120
  [id="plugins-{type}s-{plugin}-common-options"]
121
- include::{include_path}/{type}.asciidoc[]
121
+ include::{include_path}/{type}.asciidoc[]
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-filter-json'
4
- s.version = '3.0.5'
4
+ s.version = '3.0.6'
5
5
  s.licenses = ['Apache License (2.0)']
6
6
  s.summary = "Parses JSON events"
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-filter-json
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.5
4
+ version: 3.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elastic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-11-07 00:00:00.000000000 Z
11
+ date: 2019-02-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
@@ -84,7 +84,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
84
84
  version: '0'
85
85
  requirements: []
86
86
  rubyforge_project:
87
- rubygems_version: 2.6.11
87
+ rubygems_version: 2.6.13
88
88
  signing_key:
89
89
  specification_version: 4
90
90
  summary: Parses JSON events