connect icon indicating copy to clipboard operation
connect copied to clipboard

feat: add support for script and upsert on ES output

Open gfyrag opened this issue 2 years ago • 1 comments

Add some capabilities to elasticsearch output :

  • Support for scripted update
  • Support for "upsert" in updates

The new behavior is enabled setting the property 'multipart' to true on the output. Once the 'multipart' defined, 3 new fields are evaluated :

  • doc: replace the root
  • script: add the "script" field
  • upsert: add "upsert" field

See the documentation : https://www.elastic.co/guide/en/elasticsearch/reference/7.0/docs-update.html#_literal_doc_as_upsert_literal

gfyrag avatar Sep 25 '23 14:09 gfyrag

Any news @Jeffail ?

flemzord avatar Mar 06 '24 16:03 flemzord