Forum Discussion
cxmelga
Feb 17, 2022Copper Contributor
A simple Custom XPath Data Source Collection is not working
Can someone please help me with the following I read the following document https://docs.microsoft.com/en-us/azure/azure-monitor/agents/data-collection-rule-azure-monitor-agent I am following...
Swdowsett
Apr 20, 2022Copper Contributor
cxmelga What did you do to resolve this? I am trying to collect other events from a custom channel but having no luck
- cxmelgaMay 07, 2022Copper ContributorYes I fixed it I will try and show you an example later (as I need to dig it out)
Thanks- Ron HoweJun 29, 2022Copper ContributorCould you post your fix? I'm having the same issue.
- SwdowsettJun 29, 2022Copper Contributor
Ron Howe I ended up getting this working. This only seems to work on Windows Security Events via AMA connector not the Windows Forwarded Events (Preview) connector.
When specifying the XPATH for a custom location:
CustomLog/CustomChannel!*[System[(Level=1 or Level=2 or Level=3 or Level=4 or Level=0 or Level=5)]] and so on. Seems the supported method is to use the short hand.