There is no parent-child relationship in Logstash, this is a mapping concept of Elasticsearch.
You can't do what you are trying to do in logstash, your first mutate is adding the join_field as a string with the value of customer, this will create the field join_field in your document, you can't use another mutate in the sequence and change this to a json object.
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.