Automatic _timestamp upon indexing

Hi!

I've been trying to find out how to automate timestamping of document indexing. I see that _timestamp is not supported anymore, so I assume the following mapping does not work anymore:

{
"tweet" : {
"_timestamp" : { "enabled" : true }
}
}

So, I have to create a date field now, but is there anyway to automate the timestamp?

Thanks a bunch

You need to solve that on your application side.
Or you might be able to use a painless processor in an ingest pipeline.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.