Log Analytics not showing any logs

chetali naigaonkar 1 Reputation point
2022-08-18T22:58:58.993+00:00

Hi Team

I am trying to fetch the logs from one of the log file which is generated by the azure pipeline and is present on my azure VM.
I have connected that machine and created log analytics workspace.

when I am trying to execute query, i am not getting any output, even after waiting for a whole day.

Need help!

TIA

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,645 questions
Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
3,542 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Andrew Blumhardt 10,051 Reputation points Microsoft Employee
    2022-08-23T14:41:53.24+00:00

    You can collect text files using the MMA or AMA agent. If you don't see any logs it could be a configuration issue...wrong location or invalid parsing. Also, I believe this relies on the file timestamp. The file must be updated regularly.

    https://learn.microsoft.com/en-us/azure/azure-monitor/agents/data-sources-custom-logs
    https://learn.microsoft.com/en-us/azure/azure-monitor/agents/data-collection-text-log

    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.