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
Menu