We have a splunk cloud in our environment and how do i setup a vmware logs to forward to splunk cloud with out installing any Splunk universal forwarder on esxi server?
By configuring your esxi hosts to send their syslog to a separate syslog server.
How exactly you setup that syslog server and send the logs from that syslog server to Splunk Cloud is up to you. This can be done in various ways. The classic way of doing it is have the syslog server run rsyslog/syslog-ng which receives the syslog from esxi and write it to files. Then put a UF on the syslog server to read those files and send them to Splunk Cloud.
More modern approaches involve solutions that enable you to receive syslog data and send it to HEC. E.g. Splunk Connect for Syslog, or using rsyslog/syslog-ng's built in http output modules (requires recent versions of rsyslog / syslog-ng), or using Ryan Faircloth's omsplunkhec.