Current timestamp


(Animesh Singh) #1

hey experts,
Can anyone help me with obtaining the timestamp of a document when it was indexed ?
value should be given by elastic search server .


(Abdon Pijpelink) #2

By default, Elasticsearch will not be able tell you when a document was indexed. If this is something you need to know, you will have to add a field with a timestamp to your documents yourself, when you index those. You can for example use an ingest pipeline for that.