Comments (10)
@wiibaa thanks for grouping these up!
from logstash-output-elasticsearch.
A closed index is blocked for read/write operations. Given that we have 2 options:
- Drop events when this error happens
- Funnel events to a file (and eventually to DLQ)
I am in favor of 2 for now instead of silently dropping events. Thoughts?
I don't think we should reopen closed indexes. Thats beyond the scope of LS, and is an administrative decision in ES
from logstash-output-elasticsearch.
+1 to the DLQ idea
from logstash-output-elasticsearch.
This will be solved when DLQ is implemented.
from logstash-output-elasticsearch.
What is the update on this? It would be pretty useful when importing old logs to an elk stack. I'm currently sorting my logs before inserting them so i can manually close older indices to free up memory.
from logstash-output-elasticsearch.
Is there any update on this issue?
Or is the only work around currently to ensure that the logstash output is not writing to closed indices, either by not closing them or stopping them before they can be written somehow?
from logstash-output-elasticsearch.
Would also appreciate a fix on this, retrying requests indefinitely to closed indexes makes no sense.
from logstash-output-elasticsearch.
Going back to the solutions that @suyograo mentioned...
there is Dead letter queue functionality in Logstash today, and so these can be handled in that way. I would not imagine Logstash doing anything about re-opening closed indices, but enabling Logstash to move documents to the DLQ when failed due to an index being closed is a good idea
from logstash-output-elasticsearch.
Haven't fixed this problem yet?
from logstash-output-elasticsearch.
I'm agreeing with the previously mentioned solution here. Using the DLQ to handle items not indexed is the appropriate way to approach this. Logstash is a stream processor and cannot be expected to re-open an index. While it is not documented here, it's a relatively simple procedure to enable the DLQ in Logstash.
from logstash-output-elasticsearch.
Related Issues (20)
- Invalid data stream configuration when using dlq_custom_codes option
- BREAKING: ssl_certificate_verification => true uses deprecated verifier since v11.14.0
- normalized SSL config not applied when LS core uses private-API build_client directly
- Unify the error behaviour for template installation and ilm
- Doc: Update docs to call out differences from standard offering
- Allow the creation of custom data streams HOT 1
- Reduce ES response size through use of filter_path HOT 3
- Use integration's metadata fields (id, index, pipeline) when present
- Use integration's metadata fields (_routing, _version, _version_type) when present
- New management of `version` and `version_type` corrupt datastreams processing
- Isolate datastream vs normal indexing decision into test fixture
- Plugin fails with permission denied error HOT 1
- Cannot bundle install due to gemspec deps HOT 1
- Doc: Update data streams info to explain implications of ECS settings
- Handling non UTF-8 data.
- Default values of `http_compression` and `compression_level` are incosistent HOT 2
- Determine if `data_streams => true` can be possible with ECS compatibility effectively disabled
- Doc: Expand `silence_errors_in_log` description to show possible values
- SSL settings changed and not documented HOT 1
- Too large payload responses (413) are not being properly handled
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from logstash-output-elasticsearch.