Skip to content

Instantly share code, notes, and snippets.

@konradkonrad
Last active August 29, 2015 14:18
Show Gist options
  • Save konradkonrad/f585d08c69fcd160ba2f to your computer and use it in GitHub Desktop.
Save konradkonrad/f585d08c69fcd160ba2f to your computer and use it in GitHub Desktop.
Setup plugin sketch
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