Mongodb connection

curl -XPUT 'https://localhost:9200/_river/mongodb/_meta' -d '{ 
>     "type": "mongodb", 
>     "mongodb": { 
>       "db": "appbroda", 
>       "collection": "users"
>     }, 
>     "index": {
>       "name": "appbrodaindex", 
>       "type": "user" 
>     }
>   }' --insecure 
{"error":"no handler found for uri [/_river/mongodb/_meta] and method [PUT]"}

hai sir, its throwing an error while creating the mongo index. Thanks.

Hey!

Where did you get that configuration line from? The river functionality has been removed in Elasticsearch 2.0, which has been released in October 2015 almost seven years ago. So this kind of functionality does not exist anymore.

If you state your problem with some context around it instead of sharing snippets only, maybe there is another way to solve this issue.

Elasticsearch 2.0 is EOL and no longer supported. Please upgrade ASAP.

(This is an automated response from your friendly Elastic bot. Please report this post if you have any suggestions or concerns :elasticheart: )

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.