I have built a system that creates a log analytics workspace and uploads logs to a custom table by following these Microsoft tutorials:
- https://learn.microsoft.com/en-us/azure/azure-monitor/logs/tutorial-logs-ingestion-api?tabs=dcr
- https://learn.microsoft.com/en-us/azure/azure-monitor/logs/tutorial-logs-ingestion-code?tabs=python
However, these tutorials upload logs to a custom table. Instead, I need to upload logs to one of the predefined tables in log analytics workspace. For example, let's say I want to upload logs to the SecurityEvent table. The goal is to upload sample data to a log analytics workspace and view the data in Microsoft Sentinel.
I assume I need to modify the data collection rule to forward logs to the SecurityEvent table, however, I haven't seen any documentation or examples online anywhere and haven't been successful when modifying it manually. I tried to make a Microsoft- type outputStream, but had no luck.
Is it possible to upload logs to a predefined table, like SecurityEvent? If so, then how?