Hi everyone, I’m trying to figure out a way to index my Postgres data into elasticsearch. I have a user table, and a purchase table with a user_id column linking to a user. I want to have a elasticsearch document for each user and within a nested document with each purchase that this user has made.
I’m planning to use the user_id as the elasticsearch document id reference, however:
1- I can’t figure a way to create nested objects with logstash input.
2- Can’t find a way to add multiple purchases fields to a same document. (It’s being overwritten)