logstash-filter-dateparts 1.0.0 → 1.0.1
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/README.md +4 -0
- data/lib/logstash/filters/dateparts.rb +15 -0
- data/logstash-filter-dateparts.gemspec +18 -2
- data/spec/filters/dateparts_spec.rb +15 -0
- data/spec/spec_helper.rb +15 -0
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 33cf94bc5fd3d17534ddbe214995d6c12be21bc1
|
|
4
|
+
data.tar.gz: 9d739bcdf20a4fa96f7e0e12d4abd70acc8bc8e7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3ac9fde7bb05e829c2efbc8e4a68a9d56f8131dab41a27373c8f1049f2a430c3e9ce83e4731abd5d8ba2325805b4f8819413535bc9fe65f7605bb10cc71ac1e4
|
|
7
|
+
data.tar.gz: 90023942bb0fc306576a1efef2f97e25fe14e0b159bb7f67dcf21fb21418561fd112c3085785534cc56f03a1c2bcf8d13a727af72ebb83de29b2e5a99a6200b0
|
data/README.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
This is a plugin for [Logstash](https://github.com/elastic/logstash).
|
|
4
4
|
|
|
5
|
+
The source for this plugin can be [found here on github](https://github.com/mikebski/logstash-datepart-plugin.git)
|
|
6
|
+
|
|
7
|
+
Author: Mike Baranski (mike.baranski@gmail.com). Contributions are welcome.
|
|
8
|
+
|
|
5
9
|
## License ##
|
|
6
10
|
|
|
7
11
|
Copyright (c) 2014–2015 Mike Baranski <http://www.mikeski.net>
|
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
# Copyright (c) 2014–2015 Mike Baranski <http://www.mikeski.net>
|
|
3
|
+
|
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
# you may not use this file except in compliance with the License.
|
|
6
|
+
# You may obtain a copy of the License at
|
|
7
|
+
|
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
|
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
# See the License for the specific language governing permissions and
|
|
14
|
+
# limitations under the License.
|
|
15
|
+
|
|
1
16
|
# encoding: utf-8
|
|
2
17
|
require "logstash/filters/base"
|
|
3
18
|
require "logstash/namespace"
|
|
@@ -1,9 +1,25 @@
|
|
|
1
|
+
# encoding: utf-8
|
|
2
|
+
|
|
3
|
+
# Copyright (c) 2014–2015 Mike Baranski <http://www.mikeski.net>
|
|
4
|
+
|
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
# you may not use this file except in compliance with the License.
|
|
7
|
+
# You may obtain a copy of the License at
|
|
8
|
+
|
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
|
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
# See the License for the specific language governing permissions and
|
|
15
|
+
# limitations under the License.
|
|
16
|
+
|
|
1
17
|
Gem::Specification.new do |s|
|
|
2
18
|
s.name = 'logstash-filter-dateparts'
|
|
3
|
-
s.version = '1.0.
|
|
19
|
+
s.version = '1.0.1'
|
|
4
20
|
s.licenses = ['Apache License (2.0)']
|
|
5
21
|
s.summary = 'This dateparts fileter adds date information to your event based on your timestamp'
|
|
6
|
-
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'
|
|
22
|
+
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. See https://github.com/mikebski/logstash-datepart-plugin for more details and documentation'
|
|
7
23
|
s.authors = ['Mike Baranski']
|
|
8
24
|
s.email = 'mike.baranski@gmail.com'
|
|
9
25
|
s.homepage = 'http://mikeski.net'
|
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
# Copyright (c) 2014–2015 Mike Baranski <http://www.mikeski.net>
|
|
3
|
+
|
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
# you may not use this file except in compliance with the License.
|
|
6
|
+
# You may obtain a copy of the License at
|
|
7
|
+
|
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
|
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
# See the License for the specific language governing permissions and
|
|
14
|
+
# limitations under the License.
|
|
15
|
+
|
|
1
16
|
require 'spec_helper'
|
|
2
17
|
require "logstash/filters/dateparts"
|
|
3
18
|
require "logstash/timestamp"
|
data/spec/spec_helper.rb
CHANGED
|
@@ -1 +1,16 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
# Copyright (c) 2014–2015 Mike Baranski <http://www.mikeski.net>
|
|
3
|
+
|
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
# you may not use this file except in compliance with the License.
|
|
6
|
+
# You may obtain a copy of the License at
|
|
7
|
+
|
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
|
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
# See the License for the specific language governing permissions and
|
|
14
|
+
# limitations under the License.
|
|
15
|
+
|
|
1
16
|
require "logstash/devutils/rspec/spec_helper"
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: logstash-filter-dateparts
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Mike Baranski
|
|
@@ -46,7 +46,8 @@ dependencies:
|
|
|
46
46
|
version: '0'
|
|
47
47
|
description: This gem is a logstash plugin required to be installed on top of the
|
|
48
48
|
Logstash core pipeline using $LS_HOME/bin/plugin install gemname. This gem is not
|
|
49
|
-
a stand-alone program
|
|
49
|
+
a stand-alone program. See https://github.com/mikebski/logstash-datepart-plugin
|
|
50
|
+
for more details and documentation
|
|
50
51
|
email: mike.baranski@gmail.com
|
|
51
52
|
executables: []
|
|
52
53
|
extensions: []
|