@Jeroen van der Broek , thank you for the question.
The steps that you are using are correct, however the following are some key areas where you should reverify that everything is setup properly:
- From the machine where you are collecting events, ensure that it is sending regular heartbeat to the target LA workspace (to ensure that there are no connectivity or other configuration issues). You can check this from the
heartbeat
table in the LA Workspace. Sample queries are available here - Sample Queries - Ensure that the DCR is configured properly with Data Collection Endpoint in place for the machine, as shown in the doc here
- In your screenshot, I see that you have used filter operator as
>=.
When specifying range in local event viewer, thePath
set contains the>
character instead of ">" in XML format. However, this needs to be changed to ">" symbol for it to work.
As available in the same doc, you can check the query using the Get-WinEvent
PowerShell cmdlet to make sure that the query used is correct. See the output below:
Hope this helps.
If the answer did not help, please add more context/follow-up question for it, and we will help you out. Else, if the answer helped, please click Accept answer so that it can help others in the community looking for help on similar topics.