title: Can we generate a UUID field in elasticsearch?
body: <p>I need to make a custom field in elasticsearch just like the <strong>"_id"</strong> field. Also, I need to store the <strong><code>UUID</code></strong> value (AV2oDy5F6POrheehhR9d) in that field.</p>
  
  <p>Currently, I am storing a URL in the "_id" field. The elastic version I am using is <strong>2.3.3</strong> and kibana is <strong>4.5</strong></p>
  
  <p>The two fields will be like this according to my view :</p>
  
  <pre><code>    {
    "took": 1,
    "timed_out": false,
    "_shards": {
      "total": 5,
      "successful": 5,
      "failed": 0
    },
    "hits": {
      "total": 1,
      "max_score": 0.9965843,
      "hits": [
        {
          "_index": "testIndex",
          "_type": "testType",
          "_id": "http://www.gmail.com",
          "_score": 0.9965843,
          "_source": {
            -----------------------------
            "uuid":"AV2oDy5F6POrheehhR9d"
          }
        }
      ]
    }
  }
  </code></pre>
  
  <p>Can someone help me on this ? Thanks in advance!</p>