Disable warning messages for elasticsearch