logstash-filter-mutate 0.1.7 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/logstash-filter-mutate.gemspec +1 -1
- data/spec/filters/mutate_spec.rb +7 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 36f516c5d409bdce072f6f460c041a85c7604587
|
4
|
+
data.tar.gz: 9ce99da511284ee137f4e896e9892a75a0c9f4f2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4e7c4427ef17a0dc7076b98409c9452541382c8b7839eb13815caef0e28e5daee51c18c8cb5c48c490490e958b41c0d5c2d428903e2ada4a71316c37c22fc9a3
|
7
|
+
data.tar.gz: 48631b63b512fb8bcabf6b38d61dce4c5f1bc15b3954f43456fd2d1dcfaab3be17a872eb827af2bd6b8c20543e7db4fed3d6ab049f5e5451d27de8c87f7d6a8c
|
@@ -1,7 +1,7 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
|
3
3
|
s.name = 'logstash-filter-mutate'
|
4
|
-
s.version = '0.1.
|
4
|
+
s.version = '0.1.8'
|
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"
|
data/spec/filters/mutate_spec.rb
CHANGED
@@ -3,6 +3,13 @@
|
|
3
3
|
require "logstash/devutils/rspec/spec_helper"
|
4
4
|
require "logstash/filters/mutate"
|
5
5
|
|
6
|
+
# running mutate which depends on grok outside a logstash package means
|
7
|
+
# LOGSTASH_HOME will not be defined, so let's set it here
|
8
|
+
# before requiring the grok filter
|
9
|
+
unless LogStash::Environment.const_defined?(:LOGSTASH_HOME)
|
10
|
+
LogStash::Environment::LOGSTASH_HOME = File.expand_path("../../../", __FILE__)
|
11
|
+
end
|
12
|
+
|
6
13
|
describe LogStash::Filters::Mutate do
|
7
14
|
|
8
15
|
context "config validation" do
|
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.1.
|
4
|
+
version: 0.1.8
|
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-05-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: logstash-core
|
@@ -109,7 +109,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
109
109
|
version: '0'
|
110
110
|
requirements: []
|
111
111
|
rubyforge_project:
|
112
|
-
rubygems_version: 2.
|
112
|
+
rubygems_version: 2.1.9
|
113
113
|
signing_key:
|
114
114
|
specification_version: 4
|
115
115
|
summary: The mutate filter allows you to perform general mutations on fields. You can rename, remove, replace, and modify fields in your events.
|