Skip to content

Instantly share code, notes, and snippets.

@quoeamaster
Created December 5, 2019 07:27
Show Gist options
  • Save quoeamaster/29a37275c0c4b59aebb7f88e1f0f7983 to your computer and use it in GitHub Desktop.
Save quoeamaster/29a37275c0c4b59aebb7f88e1f0f7983 to your computer and use it in GitHub Desktop.
POST _ingest/pipeline/_simulate
{
"pipeline": {
"description": "PRE-PROCESSING: add back last_update_time by using the ingest object",
"processors": [
{
"set": {
"field": "last_update_time",
"value": "{{_ingest.timestamp}}"
}
}
]
},
"docs": [
{
"_source": {
"action": "filling_procurement_form",
"user": "jaime_10234",
"procurement_id": "12_yuy190"
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment