Azure-Sentinel: Transformation on Table ASimDnsActivityLogs not working
Describe the bug Creating a Transformation on table ASimDnsActivityLogs to filter out logs based on a simple condition :
source
| where DstIpAddr !startswith "192."
Does not work (Event are not being filtered even after few hours).
To Reproduce Steps to reproduce the behavior:
- Configure the “Windows DNS Events via AMA” from sentinel portal.
- Check that logs are flowing by checking content of table ASimDnsActivityLogs
- Test your KQL against the logs
- Go to your log Analytics workspace > Tables
- Select ASimDnsActivityLogs > Edit Transformation
- Assign the transformation to a WorkspaceWide DCR, insert the transformation (given above)
- Wait for 30min (so the changes are effective)
- Check that events are not filtered out as they should
Expected behavior I should not see logs in Table ASimDnsActivityLogs where DstIpAddr starts with “192.”
ARM Dcrs
DCR generated by DataConnector “Windows DNS Events via AMA” :
{
"properties": {
"immutableId": "dcr-3768b0cace0c4122b2b256db67d4e709",
"dataSources": {
"extensions": [
{
"streams": [
"Microsoft-ASimDnsActivityLogs"
],
"extensionName": "MicrosoftDnsAgent",
"extensionSettings": {
"Filters": []
},
"name": "ASimDnsActivityLogsTypeExtension"
}
]
},
"destinations": {
"logAnalytics": [
{
"workspaceResourceId": "/subscriptions/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/resourceGroups/rg_sentinel/providers/Microsoft.OperationalInsights/workspaces/lab-esxi",
"workspaceId": "xxxxxxxxxxxxxx",
"name": "DataCollectionEvent"
}
]
},
"dataFlows": [
{
"streams": [
"Microsoft-ASimDnsActivityLogs"
],
"destinations": [
"DataCollectionEvent"
]
}
],
"provisioningState": "Succeeded"
},
"location": "somewhere",
"tags": {},
"kind": "Windows",
"id": "/subscriptions/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/resourceGroups/RG_Sentinel/providers/Microsoft.Insights/dataCollectionRules/xxxxxxxxxxxxxx-ms-sentinel-asimdnsactivity",
"name": "xxxxxxxxxxxxxx-ms-sentinel-asimdnsactivity",
"type": "Microsoft.Insights/dataCollectionRules",
"etag": "\"0a00f893-0000-1700-0000-65cf14f00000\"",
"systemData": {
"createdBy": "johndoe@doe.com",
"createdByType": "User",
"createdAt": "2024-02-16T07:55:26.3377829Z",
"lastModifiedBy": "johndoe@doe.com",
"lastModifiedByType": "User",
"lastModifiedAt": "2024-02-16T07:55:26.3377829Z"
}
}
WorkspaceWide DCR created trough the portal :
{
"properties": {
"immutableId": "dcr-e899d9e9e6a94f999bbf6e03a5e33df1",
"dataSources": {},
"destinations": {
"logAnalytics": [
{
"workspaceResourceId": "/subscriptions/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/resourcegroups/rg_sentinel/providers/microsoft.operationalinsights/workspaces/lab-esxi",
"workspaceId": "xxxxxxxxxxxxxx",
"name": "2a8df5c5fc844fdcbca44b214cdbc33c"
}
]
},
"dataFlows": [
{
"streams": [
"Microsoft-Table-ASimDnsActivityLogs"
],
"destinations": [
"2a8df5c5fc844fdcbca44b214cdbc33c"
],
"transformKql": "source\n| where DstIpAddr !startswith \"192.\"\n"
}
],
"provisioningState": "Succeeded"
},
"location": "somewhere",
"kind": "WorkspaceTransforms",
"id": "/subscriptions/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/resourceGroups/RG_Sentinel/providers/Microsoft.Insights/dataCollectionRules/DCR_WorkspaceWide_esxi",
"name": "DCR_WorkspaceWide_esxi",
"type": "Microsoft.Insights/dataCollectionRules",
"etag": "\"0a00a2c1-0000-1700-0000-65cf1b1f0000\"",
"systemData": {
"createdBy": "johndoe@doe.com",
"createdByType": "User",
"createdAt": "2024-02-16T08:21:48.5212847Z",
"lastModifiedBy": "johndoe@doe.com",
"lastModifiedByType": "User",
"lastModifiedAt": "2024-02-16T08:21:48.5212847Z"
}
}
Desktop (please complete the following information):
- OS: Windows 11
- Browser Firefox / Edge
- Version [e.g. 22]
Additional context I did test in multiple environments, I also did try to create a TransformKql in the DCR created by the dataconnector -> doesnt work aswell.
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 25 (15 by maintainers)
@dvag-oliver-kretz Hello, Thanks for your input, AFAIK I did setup a lab only dedicated to this case where there was only one DCR for the workspace.
I’ll take a look though.
Hi @Blutsh, we are reaching out to the respective DCR concerned team for this issue, once we receive an update on this, we will share with you. Thanks!
Hi @Blutsh, Thank you for provide detailed info with us. We will replicate this issue from our end and will update you. Thanks!
@Blutsh, thank you for your response, we are investigating this issue and will share our mail to with you for sharing the data privately with us. Thanks!
Hi @Blutsh, Thanks for flagging this issue, we will investigate this issue and get back to you with some updates by 29-02-2024. Thanks!
Uhh okey, we’re facing different issues. Thank you for your response, have a nice day 😃