How ES automatically adds a timestamp to a record

when using ES, I want to record the time when data can be inserted automatically. I searched it and found that it was said to use mappings, but I tried it, and it didn"t seem to be work. Is there any feasible way?

Apr.25,2022
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1be658e-52e89.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1be658e-52e89.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?