How to agentlessly upload logs to a default table in a log analytics workspace?

42726446 40 Reputation points
2024-06-19T11:49:57.39+00:00

I have built a system that creates a log analytics workspace and uploads logs to a custom table by following these Microsoft tutorials:

  1. https://learn.microsoft.com/en-us/azure/azure-monitor/logs/tutorial-logs-ingestion-api?tabs=dcr
  2. 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?

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
2,958 questions
Azure
Azure
A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.
1,053 questions
Microsoft Sentinel
Microsoft Sentinel
A scalable, cloud-native solution for security information event management and security orchestration automated response. Previously known as Azure Sentinel.
1,038 questions
0 comments No comments
{count} votes

Accepted answer
  1. Stanislav Zhelyazkov 21,851 Reputation points MVP
    2024-06-20T06:22:07.7566667+00:00

    Hi,

    It is not possible to upload data to built-in tables, only to custom ones. If you have custom table nothing stops you from viewing the data in Microsoft Sentinel. All the data in Log Analytics is available for Microsoft Sentinel to use. You can visualize it via Azure Workbooks for example.

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful