@Rohit-6108 Thank you for your query.
We do have few public documentation which talks about how you can connect any on-premises appliance that supports Syslog to Azure Sentinel or even if your Virtual machine is in Azure, how you can stream the logs from your appliance or application to a dedicated workspace you create in Azure and connect it.
Moreover you can also check these threads for similar issues that has relevant information.
Hope it helps.
Please 'Accept as answer' if it helped, so that it can help others in the community looking for help on similar topics