more work on elasticsearch ingestion