Not able to collect custom text logs in azure log analytics workspace using Data Collection rules

hajo 0 Reputation points
2024-11-22T20:06:38.9+00:00

Hi, I am facing one issue where i am not able to collect custom application text logs in azure log analytics workspace using Data Collection rules.

The following steps i did. 1. Created Data collection Endpoint in the same region.

  1. Created Custom table in log analytics workspace. 3. Created Data collection Rule in the Same region by selecting custom text logs and defining the log path and the above created table and attached the application VM in the resources as well. 4.After that, i tried to query the log analytics table, i can only see heartbeat metrics and custom logs were not visible. Can you anyone help me or guide me if i did anything wrong on the above steps.
Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
3,340 questions
Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
8,067 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Vahid Ghafarpour 21,970 Reputation points
    2024-11-22T23:33:33.2366667+00:00

    Check the metrics such as Logs Ingestion Bytes per Min and Logs Rows Received per Min to ensure that data is reaching Azure Monitor. If these metrics show activity, it means data is being collected but might not be appearing in the table due to some configuration issue.

    https://learn.microsoft.com/en-us/azure/azure-monitor/essentials/data-collection-monitor

    https://mortenknudsen.net/?p=1453

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.