title: ElasticSearch Bulk with ingest plugin
body: <p>I am using the Attachment Processor <a href="http://Using%20the%20Attachment%20Processor%20in%20a%20PipelineeditTable%201.%20Attachment%20options" rel="nofollow noreferrer">Attachment Processor</a> in a Pipeline.</p>
  
  <p>All work fine, but i wanted to do multiple post, then I tried to used <a href="https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-bulk.html" rel="nofollow noreferrer">bulk API</a>.
  Bulk work fine too, but I can't find how to send the url parameter "pipeline=attachment".</p>
  
  <p>this put works :</p>
  
  <pre><code>POST testindex/type1/1?pipeline=attachment
  {
    "data": "Y291Y291",
    "name" : "Marc",
    "age" : 23
  }
  </code></pre>
  
  <p>this bulk works :</p>
  
  <pre><code>POST _bulk
  { "index" : { "_index" : "testindex", "_type" : "type1", "_id" : "2" } }
  { "name" : "jean", "age" : 22 }
  </code></pre>
  
  <p>But how can I index Marc with his data field in bulk to be understood by the pipeline plugin?</p>