title: Recognising timestamps in Kibana and ElasticSearch
body: <p>I'm new to ElasticSearch and Kibana and am having trouble getting Kibana to recognise my timestamps.</p>
  
  <p>I have a JSON file with lots of data that I wish to insert into Elasticsearch using Curl. Here is an example of one of the JSON entries.</p>
  
  <pre><code>{"index":{"_id":"63"}}
  {"account_number":63,"firstname":"Hughes","lastname":"Owens", "email":"hughesowens@valpreal.com", "_timestamp":"2013-07-05T08:49:30.123"}
  </code></pre>
  
  <p>I have tried to create an index in Elasticsearch using the command:</p>
  
  <pre><code>curl -XPUT 'http://localhost:9200/test/'
  </code></pre>
  
  <p>I have then tried to set up an appropriate mapping for the timestamp:</p>
  
  <pre><code>curl -XPUT 'http://localhost:9200/test/container/_mapping' -d'
  {
  "container" : {
  "_timestamp" : {
  "_timestamp" : {"enabled: true, "type":"date", "format": "date_hour_minute_second_fraction", "store":true}
  }
  }
  }'
  </code></pre>
  
  <p>// format of timestamp from <a href="http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/mapping-date-format.html" rel="noreferrer">http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/mapping-date-format.html</a></p>
  
  <p>I then have tried to bulk insert my data:</p>
  
  <pre><code>curl -XPOST 'localhost:9200/test/container/_bulk?pretty' --data-binary @myfile.json
  </code></pre>
  
  <p>All of these commands run without fault however when the data is viewed in Kibana the _timestamp field is not being recognised. Sorting via the timestamp does not work and trying to filter the data using different periods does not work. Any ideas on why this problem is occuring is appricieated. </p>