I have a field of date type(in EST) and I want to convert this to GMT before subtracting from another field using kibana script.
below is the script field definition
doc['re.pdz.end'].value - doc['test.P_START_TIME'].value.getMillis()
I want to convert doc['test.P_START_TIME'] into GMT to get proper millisecond difference since doc['re.pdz.end'] is GMT(UTC) already.
thanks for the help.