logstash-output-vespa_feed 0.7.0 → 0.8.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/CHANGELOG.md +3 -0
- data/README.md +19 -2
- data/VERSION +1 -1
- data/docs/index.asciidoc +41 -0
- data/lib/logstash-output-vespa_feed_jars.rb +1 -1
- data/vendor/jar-dependencies/org/logstashplugins/logstash-output-vespa_feed/{0.7.0/logstash-output-vespa_feed-0.7.0.jar → 0.8.0/logstash-output-vespa_feed-0.8.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: da41467fd259e14c680f84a9ab406885326deec8968af3fbaa12f6abcd3c35dc
|
4
|
+
data.tar.gz: 5fbe4d025c77730760f3103d19fd5d61c3249536b4947ea42fa5413fc727c845
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 233f69ae4a1e2909c800b5c91e4181d9342046aea93c2c7ec423466cb861188b7ea01b1d569063143bc0c3e950f5542718f8586af380eaccb907c2d3c798d8d6
|
7
|
+
data.tar.gz: 885c8572e25dad3b1366cdd2747cbeef834e89bb1e9ced2f444b7bbce740de1db1ab5fa2b3c7e6d930686486570f289862aa487ccf132dfb410384834501dfa8
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -17,7 +17,7 @@ If you're developing the plugin, you'll want to do something like:
|
|
17
17
|
# run tests
|
18
18
|
./gradlew test
|
19
19
|
# install it as a Logstash plugin
|
20
|
-
/opt/logstash/bin/logstash-plugin install /path/to/logstash-output-vespa/logstash-output-vespa_feed-0.
|
20
|
+
/opt/logstash/bin/logstash-plugin install /path/to/logstash-output-vespa/logstash-output-vespa_feed-0.7.0.gem
|
21
21
|
# profit
|
22
22
|
/opt/logstash/bin/logstash
|
23
23
|
```
|
@@ -43,7 +43,7 @@ does the trick.
|
|
43
43
|
|
44
44
|
## Usage
|
45
45
|
|
46
|
-
Logstash config
|
46
|
+
Some more Logstash config examples can be found [in this blog post](https://blog.vespa.ai/logstash-vespa-tutorials/), but here's one with all the output plugin options:
|
47
47
|
|
48
48
|
```
|
49
49
|
# read stuff
|
@@ -134,6 +134,23 @@ output {
|
|
134
134
|
|
135
135
|
# how many times to retry on transient failures
|
136
136
|
max_retries => 10
|
137
|
+
|
138
|
+
# if we we exceed the number of retries or if there are intransient errors,
|
139
|
+
# like field not in the schema, invalid operation, we can send the document to a dead letter queue
|
140
|
+
|
141
|
+
# you'd need to set this to true, default is false. NOTE: this overrides whatever is in logstash.yml
|
142
|
+
enable_dlq => false
|
143
|
+
|
144
|
+
# the path to the dead letter queue. NOTE: the last part of the path is the pipeline ID,
|
145
|
+
# if you want to use the dead letter queue input plugin
|
146
|
+
dlq_path => "data/dead_letter_queue"
|
147
|
+
|
148
|
+
# max dead letter queue size (bytes)
|
149
|
+
max_queue_size => 1073741824
|
150
|
+
# max segment size (i.e. file from the dead letter queue - also in bytes)
|
151
|
+
max_segment_size => 10485760
|
152
|
+
# flush interval (how often to commit the DLQ to disk, in milliseconds)
|
153
|
+
flush_interval => 5000
|
137
154
|
}
|
138
155
|
}
|
139
156
|
```
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.8.0
|
data/docs/index.asciidoc
CHANGED
@@ -198,6 +198,47 @@ After this time (seconds), the circuit breaker will be half-open:
|
|
198
198
|
it will ping the endpoint to see if it's back,
|
199
199
|
then resume sending requests when it's back.
|
200
200
|
|
201
|
+
[id="plugins-{type}s-{plugin}-enable_dlq"]
|
202
|
+
===== `enable_dlq`
|
203
|
+
|
204
|
+
* Value type is <<boolean,boolean>>
|
205
|
+
* Default value is `false`
|
206
|
+
|
207
|
+
Enable Dead Letter Queue for this plugin. This overrides the global DLQ setting in logstash.yml.
|
208
|
+
In fact, values from logstash.yml are ignored, only those from the plugin configuration matter.
|
209
|
+
|
210
|
+
[id="plugins-{type}s-{plugin}-dlq_path"]
|
211
|
+
===== `dlq_path`
|
212
|
+
|
213
|
+
* Value type is <<string,string>>
|
214
|
+
* Default value is `"data/dead_letter_queue"`
|
215
|
+
|
216
|
+
Path to the Dead Letter Queue directory. The last part of the path will be the pipeline ID if you want to use the dead letter queue input plugin.
|
217
|
+
|
218
|
+
[id="plugins-{type}s-{plugin}-max_queue_size"]
|
219
|
+
===== `max_queue_size`
|
220
|
+
|
221
|
+
* Value type is <<number,number>>
|
222
|
+
* Default value is `1073741824` (1GB)
|
223
|
+
|
224
|
+
Maximum size of the Dead Letter Queue in bytes.
|
225
|
+
|
226
|
+
[id="plugins-{type}s-{plugin}-max_segment_size"]
|
227
|
+
===== `max_segment_size`
|
228
|
+
|
229
|
+
* Value type is <<number,number>>
|
230
|
+
* Default value is `10485760` (10MB)
|
231
|
+
|
232
|
+
Maximum size of each Dead Letter Queue segment file in bytes.
|
233
|
+
|
234
|
+
[id="plugins-{type}s-{plugin}-flush_interval"]
|
235
|
+
===== `flush_interval`
|
236
|
+
|
237
|
+
* Value type is <<number,number>>
|
238
|
+
* Default value is `5000`
|
239
|
+
|
240
|
+
How often to commit the Dead Letter Queue to disk, in milliseconds.
|
241
|
+
|
201
242
|
// The full list of Value Types is here:
|
202
243
|
// https://www.elastic.co/guide/en/logstash/current/configuration-file-structure.html
|
203
244
|
|
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logstash-output-vespa_feed
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Radu Gheorghe
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-
|
11
|
+
date: 2025-02-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
@@ -76,7 +76,7 @@ files:
|
|
76
76
|
- lib/logstash-output-vespa_feed_jars.rb
|
77
77
|
- lib/logstash/outputs/vespa_feed.rb
|
78
78
|
- logstash-output-vespa_feed.gemspec
|
79
|
-
- vendor/jar-dependencies/org/logstashplugins/logstash-output-vespa_feed/0.
|
79
|
+
- vendor/jar-dependencies/org/logstashplugins/logstash-output-vespa_feed/0.8.0/logstash-output-vespa_feed-0.8.0.jar
|
80
80
|
homepage: https://vespa.ai
|
81
81
|
licenses:
|
82
82
|
- Apache-2.0
|