title: how to fetch last 30 minutes records from elastic search
body: <pre><code>I am using following query to fetch all last 30 minutes records using elastic search, but I'm getting parsable error on line "now-30m".
  
  
  
      Query: 
  {
  
    "query": {
      "bool": {
        "must": [
          {
            "match": {
              "appName": "magnus-alerting-system"
            }
          },
          {
            "match": {
              "countryCode": "US2"
            }
          },
          {
            "match": {
              "eventCode": 201
            }
          },
          {
            "match": {
              "extractName": "LaborDemand"
            }
          },{
            "range": {
              "eventPostTimestamp": {
                **"gte": "now()-30m"**
              }
            }
          }
  
        ]
      }
    }
  }
  </code></pre>
  
  <p>Error on Postman while executing service:
   "root_cause": [
              {
                  "type": "number_format_exception",
                  "reason": "For input string: \"now()-30m\""
              }
          ]</p>
  
  <p>PLease let me know how to correct it.</p>