Support diagnostics plugin for elasticsearch