Transform results in index with missing documents when using the API but works for console

None that I could find, it should be something like:

  1. add a pipeline that sets an event.ingested field, similar to How to add time of ingestion to the document?
  2. in the first transform, add the pipeline to the destination: "dest": { "index": "phils_test_01", "pipeline": "pipeline_add_ingest_timestamp" },
  3. in the second transform, add the event.ingested field as the sync field: "sync": { "time": { "field": "event.ingested", "delay": "60s" } }