Describe the issue: I created a variable using below script to convert periodEnd and periodStart to local timezone
"script_fields": {
    "periodStartFormatted": {
      "script": {
        "source": "def sdf = new SimpleDateFormat('yyyy-MM-dd HH:mm:ss'); sdf.format(doc['@timestamp'].value.toInstant().toEpochMilli() + 8 * 60 * 60 * 1000)",
        "lang": "painless"
      },
      "ignore_failure": false
    }
  }
the new property is now seen under fields property of Extraction Response, however I am not able to access the field that was created in the moustache template. The other default fields such as @timestamp, timestamp are accessible