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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2629c29a9f1b366023f7f657fc9e6a9144b374c075035e82a811d7a46addd46b
4
- data.tar.gz: 0672c6db1423bd18a97d5ec39b6a9a160ff678a1ef68a9669642d4e2b58fe34a
3
+ metadata.gz: e2b0736d39f68356a8f4c906320884aae23bbe6f77432682f0baa09de09ba35a
4
+ data.tar.gz: aaf1182e070e89e3980f10e5085380cb758fc86f6b7d57b8bd6de82415b43048
5
5
  SHA512:
6
- metadata.gz: 32c5e7f6f687494ebd8d81322ee6ce350631153e889fec2ab813526c161ce04f523968910639a8375e1237ce67e747e014efce26fc78cff735281aa2f8ade3db
7
- data.tar.gz: 3f353a4f0d941c49cdd87e565e08f4971f9124b3439b82a5fa5596e410b7b20e32e8a2754f55a29571be1e91a7f61d2acef16397f8e858a5729500a5dbba1fcb
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
- https://www.elastic.co/guide/en/logstash/current/java-filter-plugin.html
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.2
1
+ 1.1.0
@@ -2,4 +2,4 @@
2
2
  # encoding: utf-8
3
3
 
4
4
  require 'jar_dependencies'
5
- require_jar('org.logstashplugins', 'logstash-filter-time_chunks', '1.0.2')
5
+ require_jar('org.logstashplugins', 'logstash-filter-time_chunks', '1.1.0')
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.2
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-25 00:00:00.000000000 Z
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.2/logstash-filter-time_chunks-1.0.2.jar
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