Hi All,

I am trying to create an index with a _timestamp mapping.

curl -XPOST "http://localhost:9200/test"; -d'
{ "settings" :
 { "number_of_shards" : 5,
"number_of_replicas" : 1},
"mappings" : {
"stats" : {
 "_timestamp" : {
"enabled" : true,
"store" : true }
}}}'


When I am writing the data in the index I dont see the time stamp coming up

curl -XPOST "http://localhost:9200/test/stats/1"; -d'{"a":1}'


{"_index":"test","_type":"stats","_id":"1","_version":1,"created":true}

Why am I not getting _timestamp, can anyone help?


Thanks
Surajit

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elasticsearch+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/CAAxzCObuchG-a-tBfDQa-u3_ahX7hoaPq8g3jgVZXMBiEJH4oA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to