title: Append data to nested object in logstash config
body: <p>how to add data to nested object from other select statement?</p>
  
  <p>Now i have a code (<strong><code>Select dataA FROM tableA</code></strong>):</p>
  
  <pre><code>filter {
      if [type] == "tableA" {
        json {
          source =&gt; "permissions"
          target =&gt; "permissionsNested"
          remove_field=&gt;["permissions"]
        }
      }
  }
  </code></pre>
  
  <p>How to add data from <strong><code>Select dataB FROM tableB</code></strong> by id for type tableA?</p>
  
  <p>This is needed because i have dataB as many-to-many relational.</p>