Comments (1)
I pored over the code base and roughly cataloged the main things that can go wrong:
-
Splunk TCP source
- Listener can't listen (e.g. socket already in use)
- Client sends a line that's bigger than our buffer
- Misc connection errors. (See
TcpListener#incoming
Errors docs for more info)
-
Splunk HEC sink (error code docs)
- 4xx that's probably the user's fault (e.g. unauthorized because of wrong credentials)
- 4xx that's probably router's fault (e.g. bad formatting of message)
- 5xx
- Can't connect to server
- Misc connection error
-
Splunk TCP sink
-
S3 sink (error object docs)
- Config error (e.g. bucket doesn't exist, bad credentials)
- Validation error (probably out fault)
- 5xx
- Connection error
- Misc other error
It seems like most of these are going to be easier to test by running fake servers (rather than using fail
).
Something that we don't have but that we probably want: for sinks, we could run some sort of health check at boot time (e.g. hitting HEC's healthcheck route) to make sure we can alert about configuration or connection issues as soon as possible, instead of waiting on the first log messages to come in before they're noticed.
from vector.
Related Issues (20)
- Add `vector` to crates.io HOT 3
- s3 log source from mutiple s3 buckets HOT 1
- some questions about the use of parse_grok HOT 1
- Empty `component_sent_bytes_total` but not in `component_sent_event_bytes_total` HOT 3
- kubernetes_logs support custom logfile HOT 1
- "vector validate" is stuck when running with kafka source and elasticsearch sinks HOT 4
- "Found no matching mountpoint for buffer data directory" Warning on Windows
- Add a pretty json encoding for better testing / configuring experience HOT 2
- prometheus_pushgateway failed decompressing payload HOT 3
- `vector` refuses to start when connectivity to one/any external service is not working
- Adding support for a mutable global external store for enrichment of data HOT 1
- `invalid HTTP version` error while using http sink HOT 1
- Add concurrent batching to the `file` sink HOT 3
- http_server: add custom response headers
- Possible Memory Leak with Kafka source HOT 2
- `exec` and `http` sources add a `.timestamp` field to the event after decoding HOT 3
- Replace heim with sysinfo [ fix build on FreeBSD ] HOT 1
- Vector v0.38.0 release
- Aggressive Retry Behavior with Non-Existent SQS Queue for S3 Source
- Vector metric vector_open_files not showing correct data and missing description in documentation
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 vector.