Does elastic have a timestamp field as part of metadata as to when was the document written to index ? current meta fields that i see are only these -
I have a usecase where the timestamps in the records could be different from when the records are written to the index. Looking for more info here if i can find out the time at which the records are written to index.
You can use an ingest pipeline to get something like that, the ingest pipeline has a metadata called _ingest.timestamp which corresponds to the time when Elasticsearch received the index request for the document.
You would need to copy this field to another field if you want to store it in your document, you can see how in this example.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.