logstash-filter-time_chunks 1.0.2 → 1.1.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/README.md +17 -1
- data/VERSION +1 -1
- data/lib/logstash-filter-time_chunks_jars.rb +1 -1
- data/vendor/jar-dependencies/org/logstashplugins/logstash-filter-time_chunks/{1.0.2/logstash-filter-time_chunks-1.0.2.jar → 1.1.0/logstash-filter-time_chunks-1.1.0.jar} +0 -0
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e2b0736d39f68356a8f4c906320884aae23bbe6f77432682f0baa09de09ba35a
|
|
4
|
+
data.tar.gz: aaf1182e070e89e3980f10e5085380cb758fc86f6b7d57b8bd6de82415b43048
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fa81251a4c7a1234e71768b5bb12f718226422158efd590b80dcaba4230268a7d888b67ef960a11e8eb4900c5b4d30e2297793cabfbc39ee3c4b3bc7cfb69dc6
|
|
7
|
+
data.tar.gz: 43bbed25eb3ec05c30f750c96ab942af5177fc49ec9db7ab4b5ce53ba0708b6902bd245367f4c7c45c4982cfcfd961a3f1891bd4da2e2c77061232a65e62130e
|
data/README.md
CHANGED
|
@@ -9,7 +9,22 @@ It is fully free and fully open source. The license is Apache 2.0, meaning you a
|
|
|
9
9
|
The documentation for Logstash Java plugins is available [here](https://www.elastic.co/guide/en/logstash/current/contributing-java-plugin.html).
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
### Configuration
|
|
13
|
+
|
|
14
|
+
```text
|
|
15
|
+
time_chunks {
|
|
16
|
+
source => "@timestamp"
|
|
17
|
+
date_prefix => true
|
|
18
|
+
chunks => [5, 10, 15, 30]
|
|
19
|
+
}
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
+ chunks - chunk size (intervals) in minutes.
|
|
23
|
+
+ date_prefix - add date string before chunk index (e.g. 2019-11-14-1 with prefix or 1 without prefix)
|
|
24
|
+
+ source - name of the field that contains the timestamp.
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
### Build and release
|
|
13
28
|
|
|
14
29
|
```shell script
|
|
15
30
|
mkdir -p ~/.gem;
|
|
@@ -20,4 +35,5 @@ chmod 0600 ~/.gem/credentials;
|
|
|
20
35
|
gem push $(find ./ -maxdepth 1 -name '*.gem' | awk -F/ '{print $2}');
|
|
21
36
|
```
|
|
22
37
|
|
|
38
|
+
see: https://www.elastic.co/guide/en/logstash/current/java-filter-plugin.html
|
|
23
39
|
see: https://rubygems.org/gems/logstash-filter-time_chunks
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0
|
|
1
|
+
1.1.0
|
|
Binary file
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: logstash-filter-time_chunks
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0
|
|
4
|
+
version: 1.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- N4L
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-
|
|
11
|
+
date: 2019-12-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -75,7 +75,7 @@ files:
|
|
|
75
75
|
- lib/logstash-filter-time_chunks_jars.rb
|
|
76
76
|
- lib/logstash/filters/time_chunks.rb
|
|
77
77
|
- logstash-filter-time_chunks.gemspec
|
|
78
|
-
- vendor/jar-dependencies/org/logstashplugins/logstash-filter-time_chunks/1.0
|
|
78
|
+
- vendor/jar-dependencies/org/logstashplugins/logstash-filter-time_chunks/1.1.0/logstash-filter-time_chunks-1.1.0.jar
|
|
79
79
|
homepage: http://www.n4l.co.nz
|
|
80
80
|
licenses:
|
|
81
81
|
- Apache-2.0
|