Add script to get ES heap stats (refs #7738)