Write data frame to Elastic Search with @timestamp
<p>I am exploring the <code>elastic</code> R package to write a data frame to ElasticSearch.
I am using <code>docs_bulk</code> function.</p>

<p>One of the columns in my dataframe is <strong>@timestamp</strong> which is in <code>POSIXct</code> format.
But the field is getting saved in Elastic Search as string.
Any idea on how can I get the column saved in time format.</p>

<p>I also tried by manually created the index mapping with proper data type definition  but it didn't work.</p>

<p>Please suggest.</p>

<p><strong>Version:</strong></p>

<p>R: 3.3.1</p>

<p>Elastic Search - 2.4.1</p>

<p>OS - Redhat</p>