Last active
August 29, 2015 14:18
-
-
Save konradkonrad/f585d08c69fcd160ba2f to your computer and use it in GitHub Desktop.
Setup plugin sketch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
input { | |
setup { | |
ns => "connection" | |
params => { | |
host => "127.0.0.1" | |
port => 6666 | |
username => "user" | |
password => "the pwd" | |
} | |
} | |
couchdb_changes { | |
merge_from_ns => "connection" # will put the params defined above into the local context | |
db => "mydb" # other params, possibly allow to overwrite ns-params | |
} | |
couchdb_changes { | |
merge_from_ns => "connection" | |
db => "myotherdb" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment