Elasticsearch date functions


(Kabali12345) #1

Hi all....
Here i am trying to update @timestamp field every time when i partially update the doc

POST /titanic_kfk/doc/22/_update?pretty
{
  "doc": { "@timestamp": 1508756153000 }
}

but in the above statement i have mentioned a static value for @timestamp field
but i would like to know if there is any date function like NOW() in MySql so that i can use that function instead of static epoch values .

Please suggest me the possible ways to do that.

Thank You.


(system) #2

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