Thank you. I have a doubt though, once I run the script, the river plugin 
is started and the data gets indexed into Elasticsearch, I want to know, if 
the plugin would be running after that, or does it stop once the script 
execution comes to an end?

On Sunday, January 11, 2015 at 12:16:05 AM UTC+5:30, Jörg Prante wrote:
>
> If you can set up shell scripting, it should be viable to define a curl 
> command in a script that copies the table and columns into an SQL statement 
> and performs something similar to step 7 in 
> https://github.com/jprante/elasticsearch-river-jdbc/wiki/Quickstart
>
> Jörg
>
> On Fri, Jan 9, 2015 at 2:45 PM, Amtul Nazneen <[email protected] 
> <javascript:>> wrote:
>
>> Hi,
>>
>> I'm a newbie to Elasticsearch, and I would like to know about writing 
>> custom scripts in Elasticsearch. Basically, I want to have a script which 
>> takes a table name and the columns in it as parameters, and would then 
>> start a JDBC river plugin and index the corresponding data into my 
>> Elasticsearch. Basically, I'm kind of looking for a mechanism through which 
>> I can automatically index data into my Elasticsearch on just specifying my 
>> required table and columns. And I would very much like to know if this 
>> viable and also any other ideas through which I could implement this?
>>
>> Thank you.
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "elasticsearch" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/elasticsearch/f2c89e51-f690-433e-b320-f18659958eee%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/elasticsearch/f2c89e51-f690-433e-b320-f18659958eee%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/e66698ab-cef9-4e91-bdc4-db0c5e4d3a72%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to