Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- curl -XPUT "http://localhost:9200/_river/mybooks/_meta" -d' {
- "type": "jdbc",
- "jdbc": {
- "url": "jdbc:mysql://srvweb04:3306/teste",
- "user": "root",
- "password": "p0rt4l",
- "index": "booktown",
- "type": "books",
- "sql": "select * from teste",
- "schedule" : "0/10 * * ? * *"
- }
- }'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement