Skip to content

Instantly share code, notes, and snippets.

@mansilla
Last active August 29, 2015 14:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mansilla/b98123bc4979cf94f5c0 to your computer and use it in GitHub Desktop.
Save mansilla/b98123bc4979cf94f5c0 to your computer and use it in GitHub Desktop.
curl -XPUT 'http://localhost:9200/_river/mongodb/_meta' -d '{
"type": "mongodb",
"mongodb": {
"servers": [ { "host": "127.0.0.1", "port": 27017 } ],
"db": "nombre_base_prueba",
"collection": "nombre_coleccion_prueba"
},
"index": {
"name": "nombre_indice_prueba",
"type": "tipo_prueba"
}
}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment