# Plugin couchdb\_changes not loading changes from specific databases

**URL:** <https://discuss.elastic.co/t/plugin-couchdb-changes-not-loading-changes-from-specific-databases/28701>\
**Category:** Logstash\
**Created:** [September 4, 2015, 7:30pm UTC](https://discuss.elastic.co/t/plugin-couchdb-changes-not-loading-changes-from-specific-databases/28701 "2015-09-04T19:30:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![micabot](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/micabot/32/4590_2.png) [@micabot](https://discuss.elastic.co/u/micabot)\
**Post date:** [September 4, 2015, 7:30pm UTC](https://discuss.elastic.co/t/plugin-couchdb-changes-not-loading-changes-from-specific-databases/28701/1 "2015-09-04T19:30:27Z")

</div>

Hi there!  
I'm new to Logstash, kind of a newbie question as well. I just did a fresh install of Logstash 1.5.4 in my Archlinux machine. When I read changes from one of my DBs in Couch, I see the data output in stdout. But when I try to do the same thing with another DB, nothing happens. I tried running in debug mode but got no error... just nothing happens.  
I searched for documentation on the plugin but couldn't find much more than what I already read in the plugin docs.  
The config file is the same for both DBs, only the name of it changes:

```
input {
    couchdb_changes {
        db => "elasticsearch"
        host => "localhost"
        port => 5984
        codec => "json"
    }
}
output {
    stdout {
        codec => json
    }
}

```

And the debug msg:

```
Connecting to CouchDB _changes stream at: {:host=>"localhost", :port=>"5984", :db=>"elasticsearch", :level=>:info, :file=>"logstash/inputs/couchdb_changes.rb", :line=>"139", :method=>"run"}
Logstash startup completed

```

And then just silence...  
I would appreciate any help anyone can provide! Thanks!

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [September 4, 2015, 11:44pm UTC](https://discuss.elastic.co/t/plugin-couchdb-changes-not-loading-changes-from-specific-databases/28701/2 "2015-09-04T23:44:26Z")

</div>

It could be [https://www.elastic.co/guide/en/logstash/current/plugins-inputs-couchdb\_changes.html#plugins-inputs-couchdb\_changes-sequence\_path](https://www.elastic.co/guide/en/logstash/current/plugins-inputs-couchdb_changes.html#plugins-inputs-couchdb_changes-sequence_path)?

---

<div class="post-metadata">

**Author:** ![theuntergeek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/theuntergeek/32/44961_2.png) [@theuntergeek](https://discuss.elastic.co/u/theuntergeek)\
**Post date:** [September 5, 2015, 4:47am UTC](https://discuss.elastic.co/t/plugin-couchdb-changes-not-loading-changes-from-specific-databases/28701/3 "2015-09-05T04:47:07Z")

</div>

I agree with @warkolm. It sounds like you have the same sequence DB file (the default named one), and it has a higher sequence number than the second db you are importing, so nothing imports.

You should have a separate input per database, with a separate `sequence_path` definition for each to remedy this.

---

<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, 5:30am UTC](https://discuss.elastic.co/t/plugin-couchdb-changes-not-loading-changes-from-specific-databases/28701/4 "2017-07-06T05:30:00Z")

</div>


