DCR based custom tables are not working

Sing Kit Cheng 96 Reputation points
2025-06-25T13:59:59.66+00:00

Hello All,

I have a Linux server vm in Azure as my syslog server. My Meraki MX devices are sending logs to the syslog server into their individual folders, and they are flowing. I used to have custom logs in Azure Log Analytics that pulls these logs from the syslog server so we can run query on them. Since Microsoft deprecated these classic custom logs, they are no long working. So, I am trying to create new Data Collection Rule (DCR) based custom table to pull the logs from the syslog server.

I went the process of creating the custom table. During the process, a new DCR was created as well. It looks like they (the table and the rule) were created successfully because I didn't get any error but they are not showing anything when I run query against these tables. Looks like it ran but the results have been: No results found from the last 24 hours Try selecting another time range.

I'm not sure where the problem might be. Does anyone have any idea? Any help is appreciated.

Full disclosure, I am not a Linux or a command line person at all. So I would need detail step by step instructions if you have any suggestion for me.

Thank you in advance.

Kit

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

1 answer

Sort by: Most helpful
  1. Rahul Jorrigala 1,210 Reputation points Microsoft External Staff Moderator
    2025-07-07T09:25:05.2833333+00:00

    Hello Kit,

    1.DCRs and File Patterns:

    DCRs use file patterns to locate and ingest logs. If your logs rotate and the file name changes (e.g., mylog.log becomes mylog.log.1), the DCR must be configured to match all possible rotated file names using wildcards like mylog*.log 1.

    2.Record Delimiters and Time Format

    DCRs rely on timestamp delimiters to identify new log entries. If rotated files lose this formatting or are truncated mid-record, ingestion may fail.

    3.Transformations and Filtering

    You can apply ingestion-time transformations to filter or reshape incoming data. This can help reduce file size and avoid unnecessary log entries.

    Recommendations to Avoid File Rotation Issues

    User's image
    https://learn.microsoft.com/en-us/azure/azure-monitor/vm/data-collection-log-text

    Please let me know if you face any challenge here, I can help you to resolve this issue further

    If the comment was helpful, please click "Upvote"


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.