elasticsearch: Clear tool output before indexing

refs #7038