Customizing the River

Hi ,

I am in need of customizing the elastic search river to suit our
requirements. Basically , I need to be able to take the data from the
database which is in an encrypted format and decrypt the data and index the
decrypted data. I need pointers on how to start , feasibility of such an
approach and which files to change , so that I can get started on it.

Thanking you in advance for any light that can be shed

-Ry

--
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 elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Hi,

generally speaking it is feasible to move data over to elasticsearch
from a database. You can start with the JDBC river

If you can give an example of data, how it is encrypted and what
decrypting function you think of, I could suggest where to start, yes.

Best regards,

Jörg

Am 01.02.13 13:48, schrieb Rocky:

Hi ,

I am in need of customizing the Elasticsearch river to suit our
requirements. Basically , I need to be able to take the data from the
database which is in an encrypted format and decrypt the data and
index the decrypted data. I need pointers on how to start ,
feasibility of such an approach and which files to change , so that I
can get started on it.

Thanking you in advance for any light that can be shed

-Ry

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 elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
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 elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Hi Prante ,

Thank you for your reply , The encryption is configurable by the user and
is done in Java ( Business Logic layer) , so I would need to intercept the
entity prior to indexing , apply the appropriate decryption algorithm and
then index it into elasticsearch. I am thinking if I can extend the class
which indexes the data and do this manipulation. Your thoughts on achieving
the same would be of immense help.

Thanks
-Ry

On Friday, February 1, 2013 6:59:18 PM UTC+5:30, Jörg Prante wrote:

Hi,

generally speaking it is feasible to move data over to elasticsearch
from a database. You can start with the JDBC river
GitHub - jprante/elasticsearch-jdbc: JDBC importer for Elasticsearch

If you can give an example of data, how it is encrypted and what
decrypting function you think of, I could suggest where to start, yes.

Best regards,

Jörg

Am 01.02.13 13:48, schrieb Rocky:

Hi ,

I am in need of customizing the Elasticsearch river to suit our
requirements. Basically , I need to be able to take the data from the
database which is in an encrypted format and decrypt the data and
index the decrypted data. I need pointers on how to start ,
feasibility of such an approach and which files to change , so that I
can get started on it.

Thanking you in advance for any light that can be shed

-Ry

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 elasticsearc...@googlegroups.com <javascript:>.
For more options, visit https://groups.google.com/groups/opt_out.

--
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 elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Hi,

that's what I understand, look at
GitHub - jprante/elasticsearch-jdbc: JDBC importer for Elasticsearch - if you extend the
SimpleRiverSouce and the SimpleValueListener class you can easily add
decryption on specific database columns, I recommend adding a new
'decrypt' strategy in a new subpackage.

Best regards,

Jörg

Am 02.02.13 05:46, schrieb Rocky:

Thank you for your reply , The encryption is configurable by the user
and is done in Java ( Business Logic layer) , so I would need to
intercept the entity prior to indexing , apply the appropriate
decryption algorithm and then index it into elasticsearch. I am
thinking if I can extend the class which indexes the data and do this
manipulation. Your thoughts on achieving the same would be of immense
help.

--
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 elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.