Dear David,
thank you for answering me. It doesn't work <343.gif>.
I tried this also
sellami@ubuntu:~$ curl -XPUT 'http://localhost:9200/_river/my_es_idx/_meta' -d '{
"type":"couchdb",
"couchdb":{
"user":"Sellami",
"password":"12345",
"host":"127.0.0.1",
"port":5984,
"db":"mycouchshop",
"ignore_attachments":true,
"filter":null
}
}'
{"error":"MapperParsingException[Failed to parse [couchdb.host]]; nested: NumberFormatException[multiple points]; ","status":400}
Have you got any other suggestion??
Regard,
Rami Sellami
2012/7/20 David Pilato david@pilato.fr
I suggest one thing:
Copy your JSON content (aka your river definition), paste it into http://jsonformatter.curiousconcept.com/ and click on process.
And see if there are errors.
If there are errors, it could be a bad encoding character.
BTW, are you sure you are pasting the real curl command ?
David
Le 20 juillet 2012 à 12:11, rami sellami sel.rami@gmail.com a écrit :
Hi all,
Please help me, I stilli have the same problem!!! I do not how to solve it
Thanks in advance
Best regard,
Rami Sellmai
Le mercredi 18 juillet 2012 18:38:24 UTC+2, rami sellami a écrit :
Hi everyody,
I want to integrate CouchDB into Elasticsearch follwing the tutorial of Elasticsearch web site ( Elasticsearch Platform — Find real-time answers at scale | Elastic). Other wise, when I run this command in the terminal :
curl -XPUT ' http://localhost:9200/_river/my_es_idx/_meta' -d '{
"type" : "couchdb",
"couchdb" : {
"user" : "Sellami",
"password" : "12345",
"host" : 127.0.0.1,
"port" : 5984,
"db" : "mycouchshop",
"ignore_attachments":true,
"filter" : null
}
}'
I get this errorr message :
{"error":"MapperParsingException[Failed to parse]; nested: JsonParseException[Unexpected character ('.' (code 46)): was expecting comma to separate OBJECT entries\n at [Source: [B@78f0ec3d; line: 6, column: 24]]; ","status":400}
Could you please help me?
Thanks in advance
Best regards,
Rami Sellami
--
David Pilato
http://dev.david.pilato.fr/
Twitter : @dadoonet
--
Cordialement,
Rami Sellami