Server generated field value


(Alex Mc Cool) #1

Im using Elasticsearch.Net and I would like the server to supply a value to a field when I create a document in a index.

specifically time. I want the client to supply a time value (generated on the client), and I want the server to add/supply a time value to another field for its time.

The purpose is to assess if a client (multiple clients really) has a very poor clock.

I'm at a bit of loss on how to do this, or if this already exists in some fashion

Thanks,
Alex


(Mark Walkom) #2

You can do this on the client side, but having a timestamp automatically added by Elasticsearch is not possible.


(system) #3

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