Timestamp auto create

Hello guys.
I creating index on elasticsearch, inserting json files.
So, how can i configure index to creating timestamp automatically?

Because dont wanna inserting json date filed on all json post requests, if possible I want this field mut be created by elasticsearch, with a date (receive log time).

This is possible?
Can you help me?

May be with an ingest pipeline.