You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PUT _ingest/pipeline/timestamp
{
"description": "Add a timestamp field to a document at the time of the ingestion",
"processors": [
{
"set": {
"field": "@timestamp",
"value": "{{_ingest.timestamp}}"
}
}
]
}
Create a index / document using the pipeline
POST auto_timestamp/_doc?pipeline=timestamp
{
"msg": "Timestamp auto-generation"
}