Comments (9)
Hey, sorry you ran into this. I'm taking a look at this today and should be able to get you a fix out
from elasticsearch-river-rethinkdb.
@ianjuma I'm not able to replicate this issue. Can you replicate the issue with a new rethinkdb server (with a different auth_key) and paste the output of
$ curl <HOST>:9200/_river/rethinkdb/_meta
from elasticsearch-river-rethinkdb.
Setup a new rethink server and a password. I set the auth_key with a PUT request to :9200/_river/rethinkdb/_meta
{
"type":"rethinkdb",
"auth_key": "password"
}
output of :9200/_river/rethinkdb/_meta
HTTP/1.1 200 OK
Content-Length: 301
Content-Type: application/json; charset=UTF-8
{
"_id": "_meta",
"_index": "_river",
"_source": {
"host": "localhost",
"port": 28015,
"rethinkdb": {
"databases": {
"inkoverflow": {
"Posts": {
"backfill": false,
"index": "posts",
"type": "post"
},
"Users": {
"backfill": false,
"index": "users",
"type": "user"
}
}
}
},
"type": "rethinkdb"
},
"_type": "rethinkdb",
"_version": 45,
"found": true
}
from elasticsearch-river-rethinkdb.
It doesn't look like the auth_key made it into the _meta document
from elasticsearch-river-rethinkdb.
Also, I just noticed: the host/port/auth_key need to be inside the rethinkdb object, not at the top level
from elasticsearch-river-rethinkdb.
Oh; is there another way of setting that up? I noticed that, expected it as well.
from elasticsearch-river-rethinkdb.
Yeah, try this:
$ curl -XPUT :9200/_river/rethinkdb/_meta -d '{
"rethinkdb": {
"host": "localhost",
"port": 28015,
"auth_key": "password",
"databases": {
"inkoverflow": {
"Posts": {
"backfill": false,
"index": "posts",
"type": "post"
},
"Users": {
"backfill": false,
"index": "users",
"type": "user"
}
}
}
},
"type": "rethinkdb"
}'
from elasticsearch-river-rethinkdb.
That fixed it. Thanks a lot. Oh; the host/port/auth_key need to be inside the rethinkdb object. Update the README?
from elasticsearch-river-rethinkdb.
Ah!, good catch. Sorry about that.
from elasticsearch-river-rethinkdb.
Related Issues (13)
- use logging.yml file to set plugin log level HOT 3
- Mark this deprecated in favor of Logstash plugin
- index does not exists when I do http://localhost:9200/rethinkdbname/rethinkdoc/_search?q=eMail:nikola HOT 3
- elasticsearch-river-rethinkdb has Private Subrepositories
- Add script support HOT 3
- Elastic Search unable to find plugin when used with Docker HOT 4
- Crash: java.lang.Double cannot be cast to java.lang.String HOT 7
- Backfill fails at >1000 docs HOT 15
- ES 1.4.x support HOT 10
- use logstash as new data ingestion strategy HOT 18
- does this incorporate the rethinkDB changefeed for near-realtime ingestion? HOT 2
- River does not restart after crashing/erroring HOT 5
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 elasticsearch-river-rethinkdb.