Share via

How to collect the JSON log file to Log analytics workspace custom table using DCR?

Jie Yin 105 Reputation points Microsoft External Staff
Nov 14, 2023, 3:58 PM

I will collect the log file (format JSON) to Log analytics workspace custom table based Azure monitor DCR, but the custom table some column is null.

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,544 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Dillon Silzer 57,696 Reputation points
    Nov 14, 2023, 6:16 PM

    Hi Jie,

    You will want to either do this through the portal or ARM template:

    Create a data collection rule to collect data from a text or JSON file

    https://learn.microsoft.com/EN-us/azure/azure-monitor/agents/data-collection-text-log?tabs=portal#create-a-data-collection-rule-to-collect-data-from-a-text-or-json-file

    Also, is it possible to provide us what your setup is (if you have one) and how are you querying the data?


    If this is helpful please accept answer.


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.