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]>
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].
> 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/CAKdsXoEr02XoB%3Dh1bE7qko7HSavJKZm7Zp5EYNg_aifwQMi%2B4g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to