Script field returns wrong value

Sorry, .metricbeat should be replaced with metricbeat*