-
Notifications
You must be signed in to change notification settings - Fork 215
Index is not being created in Elasticsearch #222
Comments
@rcastill can you provide the yaml and js files used (with any credentials removed)? We're working on getting the elasticsearch adaptor stabilized due to all of the changes between ES 1.7->2.X->5.X. |
*Sigh*, I realized a problem thanks to your answer: I was not passing credentials. Now, I passed credentials for the test under "simple" directory in your tests and it worked. New things to consider:
Where Do you still need my config files? |
if you want to change the type/collection part, you'd need to use a transform function to change the namespace, something like the following should work: module.exports = function(doc) {
doc.ns = "foo.type1";
return doc
} and make sure you have the namespace set properly in the app.js file.
it's hard to say what could be the cause here but I assume you're running transporter locally? and trying to send data to a remote elasticsearch? re:
That looks to be an error on the elasticsearch side so would possibly need to look at the logs there. |
In fact both elasticsearch and mongo are local. I finally gave up, since it may be a version incompatibility issue and started working in a tool in Python using elasticsearch and pymongo libs. Nevertheless I'll be following this project for any update that may come. Greetings! |
@rcastill Bulk Insertion is most likely due to malformed
This maintains the same |
I tried that already with no success |
Okay, well if you still have your configs you can attach them and we can take a look. (If you haven't fully moved on yet). Remember to redact any sensitive info |
Exact same problem here. There are no error in the output anywhere and I see no indexes getting created in ES. Here are my files:
|
@cdechery what version of elasticsearch are you testing with and also what version of transporter? |
@jipperinbham ES version 2.4;, transporter 0.1.0. |
gotcha, there was a bug fix that went out with also, we're planning on publishing official packages and images in the near future |
hello, I got the same problem like @cdechery case. all documents can be printed out from mongo |
I'm finally getting the data in the index. After updating to version 0.11 and changing some settings on the transporter JS files. But it is still not perfect. I'm getting several messages like this Also, the process doesn't END. It gets stuck after theses error messages. |
@cdechery @SYTF @rcastill @JherezTaylor please try out the latest release, v0.1.2. I'm going to close this issue out but please feel free to re-open it or create a new one if you're seeing a problem. |
Hi,
I've been trying to transport a mongodb collection to an index in Elasticsearch. It seems that my config is correct; in fact,
transport
exits with no errors (I tested some debug like passthrough_and_log.js, and it shows what is supposed to), problem is, when I list the available indexes in Elasticsearch, they were not created. I've been trying this from yesterday, and nothing works.Some important notes:
db.collection
->index.type
e.g.: foo.bar -> foo.bar, transport process is slow (I was able to note this because I also tried to transport a custom collection which is larger - it took hours!). But today I tried: foo.bar -> foo.type1, and it worked ridiculously fast (11secs) compared to the former.The text was updated successfully, but these errors were encountered: