elasticsearch: Clear tool output before indexing

This is both huge, and difficult to normalize for Elasticsearch.

Fixes #7038.