Hello. What is the best way to transform a document coming from the Couchbase plugin? If using ingest node is the answer, how would one achieve this?

Specifically, we would like to transform a timestamp from a double (1487159155.4979) to a long (1487159155) before indexing occurs for the purpose of conforming to Elasticsearch's [date datatype](https://www.elastic.co/guide/en/elasticsearch/reference/5.6/date.html). The [documentation for ingest node](https://www.elastic.co/guide/en/elasticsearch/reference/5.6/ingest.html) describes exactly what we're looking for, but we haven't been able to figure out how to use it in conjunction with the [Couchbase Transport Plugin for Elasticsearch](https://github.com/couchbaselabs/elasticsearch-transport-couchbase). We were thinking about using the [script processor](https://www.elastic.co/guide/en/elasticsearch/reference/5.6/script-processor.html) but are also considering the [date processor](https://www.elastic.co/guide/en/elasticsearch/reference/5.6/date-processor.html).

Thanks ahead of time!