logstash-filter-mutate 0.1.8 → 1.0.0
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 +0 -0
- data/NOTICE.TXT +5 -0
- data/README.md +1 -1
- data/lib/logstash/filters/mutate.rb +6 -6
- data/logstash-filter-mutate.gemspec +1 -1
- metadata +5 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4354c58e43d72e6cd7fc60a41f7e5b48331bcaf7
|
|
4
|
+
data.tar.gz: 66e6c06675347f0b253b07b5676782dc1ed17237
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: eeb689f3109dbe90ad2e8b1472a453ae4b7ffe5178b49ca8352aadac5a0a9c19b78558454cd6f1b6ec193b6b60785c16a670ec9e8b36ff2c741226ae0d71ac16
|
|
7
|
+
data.tar.gz: 6399801f7de10d778d119fe8472a70e89f0368940996198aa214b3151d29e1efbd2baf13cd4acf8d4044c29bd3161f8d238bae64e02c84d041ee3c4d515925b5
|
data/CHANGELOG.md
ADDED
|
File without changes
|
data/NOTICE.TXT
ADDED
data/README.md
CHANGED
|
@@ -13,7 +13,7 @@ Logstash provides infrastructure to automatically generate documentation for thi
|
|
|
13
13
|
|
|
14
14
|
## Need Help?
|
|
15
15
|
|
|
16
|
-
Need help? Try #logstash on freenode IRC or the logstash
|
|
16
|
+
Need help? Try #logstash on freenode IRC or the https://discuss.elastic.co/c/logstash discussion forum.
|
|
17
17
|
|
|
18
18
|
## Developing
|
|
19
19
|
|
|
@@ -4,8 +4,6 @@ require "logstash/namespace"
|
|
|
4
4
|
|
|
5
5
|
# The mutate filter allows you to perform general mutations on fields. You
|
|
6
6
|
# can rename, remove, replace, and modify fields in your events.
|
|
7
|
-
#
|
|
8
|
-
# TODO(sissel): Support regexp replacements like `String#gsub` ?
|
|
9
7
|
class LogStash::Filters::Mutate < LogStash::Filters::Base
|
|
10
8
|
config_name "mutate"
|
|
11
9
|
|
|
@@ -64,10 +62,12 @@ class LogStash::Filters::Mutate < LogStash::Filters::Base
|
|
|
64
62
|
# If the field is a hash, no action will be taken.
|
|
65
63
|
#
|
|
66
64
|
# If the conversion type is `boolean`, the acceptable values are:
|
|
67
|
-
#
|
|
68
|
-
# **
|
|
69
|
-
#
|
|
70
|
-
#
|
|
65
|
+
#
|
|
66
|
+
# * **True:** `true`, `t`, `yes`, `y`, and `1`
|
|
67
|
+
# * **False:** `false`, `f`, `no`, `n`, and `0`
|
|
68
|
+
#
|
|
69
|
+
# If a value other than these is provided, it will pass straight through
|
|
70
|
+
# and log a warning message.
|
|
71
71
|
#
|
|
72
72
|
# Valid conversion targets are: integer, float, string, and boolean.
|
|
73
73
|
#
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Gem::Specification.new do |s|
|
|
2
2
|
|
|
3
3
|
s.name = 'logstash-filter-mutate'
|
|
4
|
-
s.version = '0.
|
|
4
|
+
s.version = '1.0.0'
|
|
5
5
|
s.licenses = ['Apache License (2.0)']
|
|
6
6
|
s.summary = "The mutate filter allows you to perform general mutations on fields. You can rename, remove, replace, and modify fields in your 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/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-mutate
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 1.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Elastic
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-
|
|
11
|
+
date: 2015-06-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: logstash-core
|
|
@@ -79,9 +79,11 @@ extensions: []
|
|
|
79
79
|
extra_rdoc_files: []
|
|
80
80
|
files:
|
|
81
81
|
- .gitignore
|
|
82
|
+
- CHANGELOG.md
|
|
82
83
|
- CONTRIBUTORS
|
|
83
84
|
- Gemfile
|
|
84
85
|
- LICENSE
|
|
86
|
+
- NOTICE.TXT
|
|
85
87
|
- README.md
|
|
86
88
|
- Rakefile
|
|
87
89
|
- lib/logstash/filters/mutate.rb
|
|
@@ -109,7 +111,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
109
111
|
version: '0'
|
|
110
112
|
requirements: []
|
|
111
113
|
rubyforge_project:
|
|
112
|
-
rubygems_version: 2.
|
|
114
|
+
rubygems_version: 2.2.2
|
|
113
115
|
signing_key:
|
|
114
116
|
specification_version: 4
|
|
115
117
|
summary: The mutate filter allows you to perform general mutations on fields. You can rename, remove, replace, and modify fields in your events.
|