Comments (8)
Oh this error isn't in a human friendly format and so confusing we should definitely give some love and improve it :(
A few questions:
- Is your Elasticsearch backend require an https connection?
- did you use the
ssl => true
in your configuration? - Would you mind copy your configuration?
from logstash-output-elasticsearch.
My elasticsearch doesn't use SSL I believe (it is a default install)
Here is my output config for logstash:
output {
# Send to Elastic Search
elasticsearch {
bind_host => "mypc.local"
host => "mypc.local"
cluster => "elasticsearch-mypc"
index => "logstash-%{+YYYY.MM.dd}"
port => "9200"
ssl => false
protocol => "http"
idle_flush_time => 5
manage_template => false
}
from logstash-output-elasticsearch.
@andrewlove
I think some options are competing in the config, the cluster and the host? (not an excuse to give user a better error)
output {
# Send to Elastic Search
elasticsearch {
host => "mypc.local"
protocol => "http"
idle_flush_time => 5
}
}
You could also use the local IP (127.0.0.1) if mypc.local
isn't reachable?
from logstash-output-elasticsearch.
@andrewlove Are you running logstash on a windows machine?
from logstash-output-elasticsearch.
I'm running on Ubuntu 14.10.
I'll try your minimal config out.
Many thanks
from logstash-output-elasticsearch.
@andrewlove strange, I just tried logstash 1.5.0.rc2 w/ elasticsearch 1.4.4 and the following config:
input {
stdin {
}
}
output {
elasticsearch {
bind_host => "localhost"
host => "localhost"
cluster => "clusterdojoao"
index => "logstash-%{+YYYY.MM.dd}"
port => "9200"
ssl => false
protocol => "http"
idle_flush_time => 5
manage_template => false
}
}
And I was able to index a document correctly without that error...can you provide any other information, like a full logstash run with --debug?
from logstash-output-elasticsearch.
@andrewlove are you still having issues with this?
from logstash-output-elasticsearch.
Closing. There have been numerous improvements which should hopefully have taken care of this.
If not, feel free to open a new ticket, and/or re-open this one.
from logstash-output-elasticsearch.
Related Issues (20)
- 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
- [CI] integration tests fail with PKIX path validation failed
- [Doc] clarify the acceptable format of ssl_key
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.