Skip to content

Commit dfc8e59

Browse files
committed
update for GH Issue #37763
1 parent 6fdb535 commit dfc8e59

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

articles/firewall/log-analytics-samples.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@ services: firewall
55
author: vhorne
66
ms.service: firewall
77
ms.topic: article
8-
ms.date: 2/15/2019
8+
ms.date: 09/17/2019
99
ms.author: victorh
1010
---
11+
1112
# Azure Firewall log analytics samples
1213

1314
The following Azure Monitor logs samples can be used to analyze your Azure Firewall logs. The sample file is built in View Designer in Azure Monitor, the [View Designer in Azure Monitor](https://docs.microsoft.com/azure/log-analytics/log-analytics-view-designer) article has more information about the View Design concept.
@@ -64,7 +65,7 @@ SourcePort = tostring(SourcePortInt)
6465
TargetPort = tostring(TargetPortInt)
6566
| extend
6667
//make sure we only have Allowed / Deny in the Action Field
67-
Action1 = case(Action1 == "denied","Deny","Unknown Action")
68+
Action1 = case(Action1 == "Deny","Deny","Unknown Action")
6869
| extend
6970
Action = case(Action2 == "",Action1,Action2),
7071
Rule = case(Rule2a == "",case(Rule1 == "",case(Rule2b == "","N/A", Rule2b),Rule1),Rule2a),
@@ -86,7 +87,7 @@ AzureDiagnostics
8687
| parse TempDetails with * "Deny." RuleCollection2b ". Proceeding with" Rule2b
8788
| extend SourcePort = tostring(SourcePortInt)
8889
| extend TargetPort = tostring(TargetPortInt)
89-
| extend Action1 = case(Action1 == "denied","Deny","Unknown Action")
90+
| extend Action1 = case(Action1 == "Deny","Deny","Unknown Action")
9091
| extend Action = case(Action2 == "",Action1,Action2),Rule = case(Rule2a == "", case(Rule1 == "",case(Rule2b == "","N/A", Rule2b),Rule1),Rule2a),
9192
RuleCollection = case(RuleCollection2b == "",case(RuleCollection2a == "","No rule matched",RuleCollection2a), RuleCollection2b),FQDN = case(FQDN == "", "N/A", FQDN),TargetPort = case(TargetPort == "", "N/A", TargetPort)
9293
| project TimeGenerated, msg_s, Protocol, SourceIP, SourcePort, FQDN, TargetPort, Action ,RuleCollection, Rule

0 commit comments

Comments
 (0)