logstash-input-beats 5.1.0-java → 5.1.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 +4 -4
- data/CHANGELOG.md +11 -1
- data/VERSION +1 -1
- data/docs/index.asciidoc +30 -6
- data/lib/logstash-input-beats_jars.rb +1 -1
- data/vendor/jar-dependencies/org/logstash/beats/logstash-input-beats/{5.1.0/logstash-input-beats-5.1.0.jar → 5.1.3/logstash-input-beats-5.1.3.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: b0fcf631f64e0aa00c02946e8e6a49eddcee3377ec7c7358df64d79e22afc202
|
4
|
+
data.tar.gz: 97c7b62266a712ff1e3ce714321d1316f17e22924cc5de2c719c8b3ea2fe6530
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1b9936a104ff6cbccc9eea6b8eefcca5d8866fad4ddb5fefcf8c98ce4f2cd09d088bf9fc60e70e5f9c3b4965a4356bda82d610a4fa7e33fe67136362acde8884
|
7
|
+
data.tar.gz: 4cb4bd9dc769ad74108acb0625c1e5212743cbcae145a8217a8eec221fac6d6743b5d3f20c6073f9acf223223189d5d207320e85c98d581ed9e0da4b2af449b2
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,13 @@
|
|
1
|
+
## 5.1.3
|
2
|
+
- Fixed handling of batches where the sequence numbers do not start with 1 [#342](https://github.com/logstash-plugins/logstash-input-beats/pull/342)
|
3
|
+
|
4
|
+
## 5.1.2
|
5
|
+
- Changed project to use gradle version 4.8.1. [#334](https://github.com/logstash-plugins/logstash-input-beats/pull/334)
|
6
|
+
- This is an internal, non user-impacting, change to use a more modern version of gradle for building the plugin.
|
7
|
+
|
8
|
+
## 5.1.1
|
9
|
+
- Docs: Add more detail about creating versioned indexes for Beats data
|
10
|
+
|
1
11
|
## 5.1.0
|
2
12
|
- Added ssl_peer_metadata option. [#327](https://github.com/logstash-plugins/logstash-input-beats/pull/327)
|
3
13
|
- Fixed ssl_verify_mode => peer. [#326](https://github.com/logstash-plugins/logstash-input-beats/pull/326)
|
@@ -9,7 +19,7 @@
|
|
9
19
|
- [Ensure that context is available before trace is made](https://github.com/logstash-plugins/logstash-input-beats/pull/319/files)
|
10
20
|
|
11
21
|
## 5.0.14
|
12
|
-
-
|
22
|
+
- Update jackson deps to 2.9.5
|
13
23
|
|
14
24
|
## 5.0.13
|
15
25
|
- Fix broken 5.0.12 release
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
5.1.
|
1
|
+
5.1.3
|
data/docs/index.asciidoc
CHANGED
@@ -25,7 +25,7 @@ This input plugin enables Logstash to receive events from the
|
|
25
25
|
https://www.elastic.co/products/beats[Elastic Beats] framework.
|
26
26
|
|
27
27
|
The following example shows how to configure Logstash to listen on port
|
28
|
-
5044 for incoming Beats connections and to index into Elasticsearch
|
28
|
+
5044 for incoming Beats connections and to index into Elasticsearch.
|
29
29
|
|
30
30
|
[source,ruby]
|
31
31
|
------------------------------------------------------------------------------
|
@@ -39,17 +39,19 @@ output {
|
|
39
39
|
elasticsearch {
|
40
40
|
hosts => "localhost:9200"
|
41
41
|
manage_template => false
|
42
|
-
index => "%{[@metadata][beat]}-%{[@metadata][version]}-%{+YYYY.MM.dd}"
|
43
|
-
document_type => "%{[@metadata][type]}" <
|
42
|
+
index => "%{[@metadata][beat]}-%{[@metadata][version]}-%{+YYYY.MM.dd}" <1>
|
43
|
+
document_type => "%{[@metadata][type]}" <2>
|
44
44
|
}
|
45
45
|
}
|
46
46
|
------------------------------------------------------------------------------
|
47
|
-
<1>
|
47
|
+
<1> Specifies the index to write events to. See <<versioned-indexes>> for
|
48
|
+
more about this setting.
|
49
|
+
<2> Starting with Logstash 6.0, the `document_type` option is
|
48
50
|
deprecated due to the
|
49
51
|
https://www.elastic.co/guide/en/elasticsearch/reference/6.0/removal-of-types.html[removal of types in Logstash 6.0].
|
50
52
|
It will be removed in the next major version of Logstash. If you are running
|
51
|
-
Logstash 6.0 or later,
|
52
|
-
|
53
|
+
Logstash 6.0 or later, do not set `document_type` in your configuration because
|
54
|
+
Logstash sets the type to `doc` by default.
|
53
55
|
|
54
56
|
IMPORTANT: If you are shipping events that span multiple lines, you need to
|
55
57
|
use the https://www.elastic.co/guide/en/beats/filebeat/current/multiline-examples.html[configuration options available in Filebeat] to handle multiline events
|
@@ -57,6 +59,28 @@ before sending the event data to Logstash. You cannot use the
|
|
57
59
|
{logstash-ref}/plugins-codecs-multiline.html[Multiline codec plugin] to handle multiline events. Doing so will
|
58
60
|
result in the failure to start Logstash.
|
59
61
|
|
62
|
+
[[versioned-indexes]]
|
63
|
+
==== Versioned Beats Indices
|
64
|
+
|
65
|
+
To minimize the impact of future schema changes on your existing indices and
|
66
|
+
mappings in Elasticsearch, configure the Elasticsearch output to write to
|
67
|
+
versioned indices. The pattern that you specify for the `index` setting
|
68
|
+
controls the index name:
|
69
|
+
|
70
|
+
[source,yaml]
|
71
|
+
----
|
72
|
+
index => "%{[@metadata][beat]}-%{[@metadata][version]}-%{+YYYY.MM.dd}"
|
73
|
+
----
|
74
|
+
|
75
|
+
`%{[@metadata][beat]}`:: Sets the first part of the index name to the value of
|
76
|
+
the `beat` metadata field, for example, `filebeat`.
|
77
|
+
`%{[@metadata][version]}`:: Sets the second part of the name to the Beat
|
78
|
+
version, for example, +{logstash_version}+.
|
79
|
+
`%{+YYYY.MM.dd}`:: Sets the third part of the name to a date based on the
|
80
|
+
Logstash `@timestamp` field.
|
81
|
+
|
82
|
+
This configuration results in daily index names like
|
83
|
+
+filebeat-{logstash_version}-{localdate}+.
|
60
84
|
|
61
85
|
[id="plugins-{type}s-{plugin}-options"]
|
62
86
|
==== Beats Input Configuration Options
|
@@ -9,4 +9,4 @@ require_jar('com.fasterxml.jackson.core', 'jackson-annotations', '2.9.5')
|
|
9
9
|
require_jar('com.fasterxml.jackson.core', 'jackson-databind', '2.9.5')
|
10
10
|
require_jar('com.fasterxml.jackson.module', 'jackson-module-afterburner', '2.9.5')
|
11
11
|
require_jar('org.apache.logging.log4j', 'log4j-api', '2.6.2')
|
12
|
-
require_jar('org.logstash.beats', 'logstash-input-beats', '5.1.
|
12
|
+
require_jar('org.logstash.beats', 'logstash-input-beats', '5.1.3')
|
Binary file
|
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: 5.1.
|
4
|
+
version: 5.1.3
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Elastic
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-07-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
@@ -266,7 +266,7 @@ files:
|
|
266
266
|
- vendor/jar-dependencies/io/netty/netty-tcnative-boringssl-static/2.0.7.Final/netty-tcnative-boringssl-static-2.0.7.Final.jar
|
267
267
|
- vendor/jar-dependencies/org/apache/logging/log4j/log4j-api/2.6.2/log4j-api-2.6.2.jar
|
268
268
|
- vendor/jar-dependencies/org/javassist/javassist/3.20.0-GA/javassist-3.20.0-GA.jar
|
269
|
-
- vendor/jar-dependencies/org/logstash/beats/logstash-input-beats/5.1.
|
269
|
+
- vendor/jar-dependencies/org/logstash/beats/logstash-input-beats/5.1.3/logstash-input-beats-5.1.3.jar
|
270
270
|
homepage: http://www.elastic.co/guide/en/logstash/current/index.html
|
271
271
|
licenses:
|
272
272
|
- Apache License (2.0)
|