Trying to extract the date by date processor it's not successful. Still taking the normal timestamp
POST _ingest/pipeline/_simulate
{
  "pipeline":  {
	"processors": [
	  {
	    "grok": {
		   "ignore_missing": true,
		   "field": "message",
		   "patterns": ["""%{GREEDYDATA:date}"""]
			  }
		},	
      {
        "remove" : {
          "field" : "message"
        }
      },
      {
        "date" : {
          "field" : "date",
          "target_field" : "testdate",
          "formats" : ["M/d/yyyy HH:m:s a"],
          "timezone" : "Asia/Kolkata",
          "ignore_failure" : true
        }
      }
		   ]
		   },
   "docs": [
     {
       "_source": {
         "message": """7/9/2019 4:29:55 PM"""
         }
     }
   ]
  }
Result
{
  "docs" : [
    {
      "doc" : {
        "_index" : "_index",
        "_type" : "_type",
        "_id" : "_id",
        "_source" : {
          "date" : "7/9/2019 4:29:55 PM",
          "testdate" : "2019-07-09T04:29:55.000+05:30"
        },
        "_ingest" : {
          "timestamp" : "2019-07-10T10:11:16.188Z"
        }
      }
    }
  ]
}