I am trying to poll the data from database table - User and populate in elasticsearch, I specify the index name in the "index" section giving a name, the index is being created as "jdbc". Thus I can only query it as "host/jdbc/_search what is this about ?
This is the POST request for creating users index
http://localhost:9200/_river/users/_meta
{
"type" :
"jdbc",
"schedule" : "0 0-59 0-23 ? * *",
"jdbc" :
{
"driver":"com.mysql.jdbc.Driver",
"url" : "jdbc:mysql://192.168.52.202/test_dev",
"user" : "test_user",
"password" : "test_pass",
"sql" : "select id as _id,first_name,city,email from USERS",
"index":"users",
"type":"user"
}
}