@Matt Pollock thank you for this query and apologies for the delayed response.
Please find below some information which should help you regarding this issue.
- Log Analytics workspace is used to store the monitoring logs/data collected from agent. Therefore, when you are using KQL queries, you are essentially querying already collected data in the workspace. It does not connect to the agent or VM itself for queries.
- There are mainly 2 ways (2 agents) to collect monitoring data from Arc connected VMs, a. the legacy Log Analytics Agent (which is also known as Microsoft Monitoring Agent). b. The currently recommended Azure Monitor Agent
- Note that a number of Monitoring solutions for Log Analytics workspace as available here only work with the legacy agent.
With this information at hand, I would like to understand the following about this issue:
- Can you please explain- "I have added a legacy management extension to the LAW.."? If you could provide a link to the referred doc, that should help me understand it better. I assume that it is one of the legacy Solutions which was available with Log Analytics workspace and is no longer available or does not work with the agent that you used to connect your Arc machines to Azure Monitor.
- How are you collecting Application, System and security logs? If you are using the newer Azure Monitor Agent, I assume that you have created data collection rules. You could create a similar rule for collecting events from DFS Replication event logs (if they are available in EventViewer of the target machine). --> this is the recommended method
- If you have used one of the older solutions which collected DFS replication events using legacy LA agent, and the events are getting collected, the query might need modification. The data collected in LAW is saved as table. In the query, "Event" is one such table which has multiple columns and EventLog would correspond to one such column which contains the name of the event log from which this data was collected. I would suggest looking at the name of the event log in the VM itself, to verify that the name is correct. You could also try changing the Time range for the query as by default it is collected only for last 24 hours and ensure that new logs were added to this event after the monitoring was enabled:
Hope this helps, In case you are still facing issues querying the data, I please share details as requested in the reply (Agent used, solution/extension enabled etc.) and that will help us assist you accordingly.
Please click Accept answer and Yes if the reply helped so that it can help others in the community looking for answer to similar questions.