Hi,
we are currently looking for a proper way to import some data into elasticsearch. The data is basically a relational datamodel split into several csv files.
For example we have a csv customer
with multiple columns and a unique ID for each row. Then we have another csv constracts
where a contract belongs to 1 customer. We now thought of importing all contracts as nested documents for the customer that matches with the foreign key customerId in contracts
.
Is it possible to do something like this in logstash? So basically I need to output each document as a nested document to the parent document with a specific ID.