logstash-input-beats 6.0.2-java → 6.0.3-java

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: 1f25c9e90bf2662d60b31727120d56586d731ddd3cb5a1427f2e413a01425676
4
- data.tar.gz: 452653c057f9def8e113322daac093721ac8f311a9b09cdd8d99ff12651b9efb
3
+ metadata.gz: 72e070f6fef5637e33280bf95b75f0e98a794f4172152230abac96003aeff621
4
+ data.tar.gz: d1b85336a3b94f6009febf53a7dd139745c203df7f04c56cb5eb6ad45c35feba
5
5
  SHA512:
6
- metadata.gz: 06ec72728f0e54c26566d17c8b3e0dc2be3d6634708f5081b7f7e56b8b79b2dc437ea20ca3efd99efe9d7065117da1fb971d40e4c759b799781de9b02fa44a29
7
- data.tar.gz: 59747336586858ecbf086e3cdae41cfa7ff0c443b2c72412c7f7e952a338992268d49d189e138eb7eaaa751c09536dc6eff8ab9c3104b0f64ae521ef46603a4a
6
+ metadata.gz: 72cff8ed13f974746b26816752ed8904e4c122e24fd03c76352ecbcb575b58ca896a2af6bde2132457de3c7720d5c2d9e8b2be33a875d702a8535e8d7eb86ecb
7
+ data.tar.gz: be75abdb50e6c4d42a0cbc95a3795a2d8dabb470237ad668ebaa6feeb99a12de0aa30a5fdaeb7485ecee6100814ab55d8f5e5c47e103c5bc0e4542d8072b7f40
@@ -1,7 +1,10 @@
1
- ## 6.0.2
1
+ ## 6.0.3
2
+ - Fixed configuration example in doc [#371](https://github.com/logstash-plugins/logstash-input-beats/pull/371)
3
+
4
+ ## 6.0.2
2
5
  - Improved handling of invalid compressed content [#368](https://github.com/logstash-plugins/logstash-input-beats/pull/368)
3
6
 
4
- ## 6.0.1
7
+ ## 6.0.1
5
8
  - Updated Jackson dependencies [#366](https://github.com/logstash-plugins/logstash-input-beats/pull/366)
6
9
 
7
10
  ## 6.0.0
data/VERSION CHANGED
@@ -1 +1 @@
1
- 6.0.2
1
+ 6.0.3
@@ -27,8 +27,9 @@ https://www.elastic.co/products/beats[Elastic Beats] framework.
27
27
  The following example shows how to configure Logstash to listen on port
28
28
  5044 for incoming Beats connections and to index into Elasticsearch.
29
29
 
30
- [source,ruby]
31
- ------------------------------------------------------------------------------
30
+ [source,logstash]
31
+ -----
32
+
32
33
  input {
33
34
  beats {
34
35
  port => 5044
@@ -37,21 +38,23 @@ input {
37
38
 
38
39
  output {
39
40
  elasticsearch {
40
- hosts => "localhost:9200"
41
- manage_template => false
42
- index => "%{[@metadata][beat]}-%{[@metadata][version]}-%{+YYYY.MM.dd}" <1>
43
- document_type => "%{[@metadata][type]}" <2>
41
+ hosts => ["http://localhost:9200"]
42
+ index => "%{[@metadata][beat]}-%{[@metadata][version]}" <1>
44
43
  }
45
44
  }
46
- ------------------------------------------------------------------------------
47
- <1> Specifies the index to write events to. See <<plugins-{type}s-{plugin}-versioned-indexes>> for
48
- more about this setting.
49
- <2> Starting with Logstash 6.0, the `document_type` option is
50
- deprecated due to the
51
- https://www.elastic.co/guide/en/elasticsearch/reference/6.0/removal-of-types.html[removal of types in Logstash 6.0].
52
- It will be removed in the next major version of Logstash. If you are running
53
- Logstash 6.0 or later, do not set `document_type` in your configuration because
54
- Logstash sets the type to `doc` by default.
45
+ -----
46
+ <1> `%{[@metadata][beat]}` sets the first part of the index name to the value
47
+ of the `beat` metadata field and `%{[@metadata][version]}` sets the second part to
48
+ the Beat's version. For example:
49
+ metricbeat-7.4.0.
50
+
51
+ Events indexed into Elasticsearch with the Logstash configuration shown here
52
+ will be similar to events directly indexed by Beats into Elasticsearch.
53
+
54
+ NOTE: If ILM is not being used, set `index` to
55
+ `%{[@metadata][beat]}-%{[@metadata][version]}-%{+YYYY.MM.dd}` instead so
56
+ Logstash creates an index per day, based on the `@timestamp` value of the events
57
+ coming from Beats.
55
58
 
56
59
  IMPORTANT: If you are shipping events that span multiple lines, you need to
57
60
  use the https://www.elastic.co/guide/en/beats/filebeat/current/multiline-examples.html[configuration options available in Filebeat] to handle multiline events
@@ -9,4 +9,4 @@ require_jar('com.fasterxml.jackson.core', 'jackson-annotations', '2.9.9')
9
9
  require_jar('com.fasterxml.jackson.core', 'jackson-databind', '2.9.9.3')
10
10
  require_jar('com.fasterxml.jackson.module', 'jackson-module-afterburner', '2.9.9')
11
11
  require_jar('org.apache.logging.log4j', 'log4j-api', '2.11.1')
12
- require_jar('org.logstash.beats', 'logstash-input-beats', '6.0.2')
12
+ require_jar('org.logstash.beats', 'logstash-input-beats', '6.0.3')
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-input-beats
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.0.2
4
+ version: 6.0.3
5
5
  platform: java
6
6
  authors:
7
7
  - Elastic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-09-11 00:00:00.000000000 Z
11
+ date: 2019-10-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
@@ -272,7 +272,7 @@ files:
272
272
  - vendor/jar-dependencies/io/netty/netty-tcnative-boringssl-static/2.0.12.Final/netty-tcnative-boringssl-static-2.0.12.Final.jar
273
273
  - vendor/jar-dependencies/org/apache/logging/log4j/log4j-api/2.11.1/log4j-api-2.11.1.jar
274
274
  - vendor/jar-dependencies/org/javassist/javassist/3.24.0-GA/javassist-3.24.0-GA.jar
275
- - vendor/jar-dependencies/org/logstash/beats/logstash-input-beats/6.0.2/logstash-input-beats-6.0.2.jar
275
+ - vendor/jar-dependencies/org/logstash/beats/logstash-input-beats/6.0.3/logstash-input-beats-6.0.3.jar
276
276
  homepage: http://www.elastic.co/guide/en/logstash/current/index.html
277
277
  licenses:
278
278
  - Apache License (2.0)