# Elasticsearch mongodb river error

**URL:** <https://discuss.elastic.co/t/elasticsearch-mongodb-river-error/10943>\
**Category:** Elasticsearch\
**Created:** [February 28, 2013, 5:51am UTC](https://discuss.elastic.co/t/elasticsearch-mongodb-river-error/10943 "2013-02-28T05:51:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![0xff](https://avatars.discourse-cdn.com/v4/letter/0/5fc32e/32.png) [@0xff](https://discuss.elastic.co/u/0xff)\
**Post date:** [February 28, 2013, 5:51am UTC](https://discuss.elastic.co/t/elasticsearch-mongodb-river-error/10943/1 "2013-02-28T05:51:39Z")

</div>

Hi All,

I am running elasticsearch 0.18.7 and mongodb 1.8.3 and I have installed  
mongodb-river plugins,

elasticsearch-river-mongodb-1.0.0-SNAPSHOT  
mongo-java-driver-2.5.3  
elasticsearch-mapper-attachments-1.0.0  
tika-app-0.10

The ES server starts fine and when I try to index the person collection  
with following command,

curl -XPUT '[http://localhost:9200/\_river/mongodb/\_meta](http://localhost:9200/_river/mongodb/_meta)' -d '{  
"type": "mongodb",  
"mongodb": {  
"db": "testmongo",  
"collection": "person"  
},  
"index": {  
"name": "mongoindex",  
"type": "person"  
}  
}'

I get the below given error (filter is null.) infinitely.

[2013-02-28 13:29:02,102][INFO][cluster.metadata] [Kl'rt]  
[\_river] creating index, cause [auto(index api)], shards [1]/[1], mappings  
[]

[2013-02-28 13:29:02,249][INFO][cluster.metadata] [Kl'rt]  
[\_river] update\_mapping [mongodb] (dynamic)

[2013-02-28 13:29:02,290][INFO][river.mongodb] [Kl'rt]  
[mongodb][mongodb] river name [org.elasticsearch.river.RiverName@35f80e40]  
monitoring namespace [profile.person]

[2013-02-28 13:29:02,290][INFO][river.mongodb] [Kl'rt]  
[mongodb][mongodb] starting mongodb stream: host [localhost], port [27017],  
gridfs [false], filter [null], db [profile], indexing to  
[mongoindex]/[person]

[2013-02-28 13:29:02,325][INFO][cluster.metadata] [Kl'rt]  
[mongoindex] creating index, cause [api], shards [5]/[1], mappings []

[2013-02-28 13:29:02,480][INFO][river.mongodb] [Kl'rt]  
[mongodb][mongodb] Start indexer thread.

[2013-02-28 13:29:02,482][INFO][river.mongodb] [Kl'rt]  
[mongodb][mongodb] Start tailer thread.

[2013-02-28 13:29:02,592][INFO][river.mongodb] [Kl'rt]  
[mongodb][mongodb] filter is null.

[2013-02-28 13:29:02,599][INFO][cluster.metadata] [Kl'rt]  
[\_river] update\_mapping [mongodb] (dynamic)

[2013-02-28 13:29:07,618][INFO][river.mongodb] [Kl'rt]  
[mongodb][mongodb] filter is null.

[2013-02-28 13:29:12,621][INFO][river.mongodb] [Kl'rt]  
[mongodb][mongodb] filter is null.

[2013-02-28 13:29:17,623][INFO][river.mongodb] [Kl'rt]  
[mongodb][mongodb] filter is null.

Kindly advice and please let me know what i am doing wrong.

Thanks in advance.

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 2:49am UTC](https://discuss.elastic.co/t/elasticsearch-mongodb-river-error/10943/2 "2017-07-06T02:49:07Z")

</div>


