I have data in two different databases. In database 1 there is products details and in database2 there is metrics related to these products.
Is it possible with the JDBC input plugin to have as the output a single Document with information from database1 with information from database1 injected into it ?
product {
id: 1
name: "test",
metric: {
product_id: 1
{all the metrics for product_id 1}
}
}
You might be able to read from one database using a JDBC input filter and the enrich using either a jdbc static or jdbc streaming plugin against the other database. This is discussed in this webinar.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.