Skip to content

Instantly share code, notes, and snippets.

@jalada
Created August 16, 2011 12:35
Show Gist options
  • Save jalada/1148968 to your computer and use it in GitHub Desktop.
Save jalada/1148968 to your computer and use it in GitHub Desktop.
curl -XPUT localhost:9200/_river/my_tweets/_meta -d '
{
"type" : "twitter",
"twitter" : {
"user" : "xxx",
"password" : "yyy",
"filter" : {
"tracks" : "foo,bar,baz"
}
},
"index" : {
"index" : "my_tweets",
"type" : "status",
"bulk_size" : 1
}
}
'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment