<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Security Rule hitcount not incrementing, but traffic monitor shows rule being used on PA-850 in Next-Generation Firewall Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/next-generation-firewall/security-rule-hitcount-not-incrementing-but-traffic-monitor/m-p/519059#M511</link>
    <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/70130"&gt;@aleksandar.astardzhiev&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There's no specific reason, firewall is running v10.1.6-h6.&lt;/P&gt;</description>
    <pubDate>Tue, 25 Oct 2022 15:50:43 GMT</pubDate>
    <dc:creator>Juan_Alvarez</dc:creator>
    <dc:date>2022-10-25T15:50:43Z</dc:date>
    <item>
      <title>Security Rule hitcount not incrementing, but traffic monitor shows rule being used on PA-850</title>
      <link>https://live.paloaltonetworks.com/t5/next-generation-firewall/security-rule-hitcount-not-incrementing-but-traffic-monitor/m-p/518972#M507</link>
      <description>&lt;P&gt;Hi Community!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Recently I stumbled upon this weird behavior where a security rule shows 0 hit-count, but when looked under the traffic monitor lots of traffic is being allowed by that rule.&lt;/P&gt;
&lt;P&gt;This is the rule in question (0 hit count marker):&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Juan_Alvarez_0-1666649841977.png" style="width: 999px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/44849i97D12BC77C00C60B/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Juan_Alvarez_0-1666649841977.png" alt="Juan_Alvarez_0-1666649841977.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;This is the traffic monitor logs, where we can see the rule being used:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Juan_Alvarez_1-1666649982899.png" style="width: 999px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/44850iA80A8369C5B57672/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Juan_Alvarez_1-1666649982899.png" alt="Juan_Alvarez_1-1666649982899.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Does someone know why the hit count is not incrementing since the rule is being used? how can I troubleshoot this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;
&lt;P&gt;&lt;LI-PRODUCT title="NGFW" id="NGFW"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Oct 2022 22:20:24 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/next-generation-firewall/security-rule-hitcount-not-incrementing-but-traffic-monitor/m-p/518972#M507</guid>
      <dc:creator>Juan_Alvarez</dc:creator>
      <dc:date>2022-10-24T22:20:24Z</dc:date>
    </item>
    <item>
      <title>Re: Security Rule hitcount not incrementing, but traffic monitor shows rule being used on PA-850</title>
      <link>https://live.paloaltonetworks.com/t5/next-generation-firewall/security-rule-hitcount-not-incrementing-but-traffic-monitor/m-p/519047#M508</link>
      <description>&lt;P&gt;Hi &lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/233724"&gt;@Juan_Alvarez&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Based on the color of the rule from the first picture I would guess you are managing the firewall with Panorama?&lt;/P&gt;
&lt;P&gt;Are you seeing the zero hit count on the Panorama or on the firewall itself?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If my guess is correct and you are managing the firewall with Panorama, it seems this rule doesn't have log forwarding profile applied. Without log forwarding, firewall will not send any logs generated for this rule to the Panorama. And without any logs for that rule I am (almost) certain it will not increase the hit count.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now even without log forwarding, firewall should increase the hit count locally on the firewall. So it is good to clear this out&amp;nbsp; - are you using Panorama and are you seeing the zero hit count on the panorama or on the firewall.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2022 15:33:04 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/next-generation-firewall/security-rule-hitcount-not-incrementing-but-traffic-monitor/m-p/519047#M508</guid>
      <dc:creator>aleksandar.astardzhiev</dc:creator>
      <dc:date>2022-10-25T15:33:04Z</dc:date>
    </item>
    <item>
      <title>Re: Security Rule hitcount not incrementing, but traffic monitor shows rule being used on PA-850</title>
      <link>https://live.paloaltonetworks.com/t5/next-generation-firewall/security-rule-hitcount-not-incrementing-but-traffic-monitor/m-p/519048#M509</link>
      <description>&lt;P&gt;Thanks for comment&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/70130"&gt;@aleksandar.astardzhiev&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You are right, we manage our firewalls through Panorama.&amp;nbsp; The picture I shared is from the firewall directly.&amp;nbsp; In Panorama the hit counter says "Unused".&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2022 15:36:25 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/next-generation-firewall/security-rule-hitcount-not-incrementing-but-traffic-monitor/m-p/519048#M509</guid>
      <dc:creator>Juan_Alvarez</dc:creator>
      <dc:date>2022-10-25T15:36:25Z</dc:date>
    </item>
    <item>
      <title>Re: Security Rule hitcount not incrementing, but traffic monitor shows rule being used on PA-850</title>
      <link>https://live.paloaltonetworks.com/t5/next-generation-firewall/security-rule-hitcount-not-incrementing-but-traffic-monitor/m-p/519051#M510</link>
      <description>&lt;P&gt;Hey &lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/233724"&gt;@Juan_Alvarez&lt;/a&gt; ,&lt;/P&gt;
&lt;P&gt;Is there specific reason why you don't forward logs to Panorama/Data Lake from this rule?&lt;/P&gt;
&lt;P&gt;What version are you using on the firewall?&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2022 15:42:57 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/next-generation-firewall/security-rule-hitcount-not-incrementing-but-traffic-monitor/m-p/519051#M510</guid>
      <dc:creator>aleksandar.astardzhiev</dc:creator>
      <dc:date>2022-10-25T15:42:57Z</dc:date>
    </item>
    <item>
      <title>Re: Security Rule hitcount not incrementing, but traffic monitor shows rule being used on PA-850</title>
      <link>https://live.paloaltonetworks.com/t5/next-generation-firewall/security-rule-hitcount-not-incrementing-but-traffic-monitor/m-p/519059#M511</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/70130"&gt;@aleksandar.astardzhiev&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There's no specific reason, firewall is running v10.1.6-h6.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2022 15:50:43 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/next-generation-firewall/security-rule-hitcount-not-incrementing-but-traffic-monitor/m-p/519059#M511</guid>
      <dc:creator>Juan_Alvarez</dc:creator>
      <dc:date>2022-10-25T15:50:43Z</dc:date>
    </item>
    <item>
      <title>Re: Security Rule hitcount not incrementing, but traffic monitor shows rule being used on PA-850</title>
      <link>https://live.paloaltonetworks.com/t5/next-generation-firewall/security-rule-hitcount-not-incrementing-but-traffic-monitor/m-p/519387#M516</link>
      <description>&lt;P&gt;I have a quick update about this issue.&amp;nbsp; It seems that it has something to do with the naming of the rule.&amp;nbsp; I was playing around with the CLI and applied the following command:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Juan_Alvarez_0-1666875268217.png" style="width: 999px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/44933i6F53A1BA1D34F4F2/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Juan_Alvarez_0-1666875268217.png" alt="Juan_Alvarez_0-1666875268217.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;So based upon the output, I decided to go to Panorama and reduce the characters of the name on this specific rule.&amp;nbsp; Once done the "new" rule started getting hit counts:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Juan_Alvarez_1-1666875389670.png" style="width: 999px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/44934i0FCF147C69BF9B38/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Juan_Alvarez_1-1666875389670.png" alt="Juan_Alvarez_1-1666875389670.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;So I decided to revert this change and configure the name back on how it was, but to my surprise the rule is still getting hit counts:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Juan_Alvarez_2-1666875477253.png" style="width: 999px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/44935i78879DD5DAC0D4C2/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Juan_Alvarez_2-1666875477253.png" alt="Juan_Alvarez_2-1666875477253.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I opened a TAC to check this behavior, maybe it's a bug.&amp;nbsp; Once I get their feedback I'll make sure to update this thread.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Oct 2022 12:58:47 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/next-generation-firewall/security-rule-hitcount-not-incrementing-but-traffic-monitor/m-p/519387#M516</guid>
      <dc:creator>Juan_Alvarez</dc:creator>
      <dc:date>2022-10-27T12:58:47Z</dc:date>
    </item>
    <item>
      <title>Re: Security Rule hitcount not incrementing, but traffic monitor shows rule being used on PA-850</title>
      <link>https://live.paloaltonetworks.com/t5/next-generation-firewall/security-rule-hitcount-not-incrementing-but-traffic-monitor/m-p/562388#M1971</link>
      <description>&lt;P&gt;Hi Juan&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Did you have any update to this issue? We are experiencing a similiar problem&lt;/P&gt;</description>
      <pubDate>Thu, 19 Oct 2023 10:40:43 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/next-generation-firewall/security-rule-hitcount-not-incrementing-but-traffic-monitor/m-p/562388#M1971</guid>
      <dc:creator>sam-wuergler</dc:creator>
      <dc:date>2023-10-19T10:40:43Z</dc:date>
    </item>
    <item>
      <title>Re: Security Rule hitcount not incrementing, but traffic monitor shows rule being used on PA-850</title>
      <link>https://live.paloaltonetworks.com/t5/next-generation-firewall/security-rule-hitcount-not-incrementing-but-traffic-monitor/m-p/562441#M1972</link>
      <description>&lt;P&gt;Hi there!&lt;/P&gt;
&lt;P&gt;Unfortunately, TAC couldn't reproduce the issue on their LAB, and since what I did "resolved" my initial problem, I left it as it is.&amp;nbsp; As a side note, it never happened again with other new rules created...&amp;nbsp; Sorry, I didn't have a better answer for this.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Oct 2023 14:32:40 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/next-generation-firewall/security-rule-hitcount-not-incrementing-but-traffic-monitor/m-p/562441#M1972</guid>
      <dc:creator>Juan_Alvarez</dc:creator>
      <dc:date>2023-10-19T14:32:40Z</dc:date>
    </item>
    <item>
      <title>Re: Security Rule hitcount not incrementing, but traffic monitor shows rule being used on PA-850</title>
      <link>https://live.paloaltonetworks.com/t5/next-generation-firewall/security-rule-hitcount-not-incrementing-but-traffic-monitor/m-p/562521#M1974</link>
      <description>&lt;P&gt;Alright, thank you anyway for the feedback. Unfortunately there are several policies impacted (upon which data I was planning to do a policy cleanup), but I worry that it will lead to the same result as with you by opening a TAC case.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Oct 2023 06:48:09 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/next-generation-firewall/security-rule-hitcount-not-incrementing-but-traffic-monitor/m-p/562521#M1974</guid>
      <dc:creator>sam-wuergler</dc:creator>
      <dc:date>2023-10-20T06:48:09Z</dc:date>
    </item>
    <item>
      <title>Re: Security Rule hitcount not incrementing, but traffic monitor shows rule being used on PA-850</title>
      <link>https://live.paloaltonetworks.com/t5/next-generation-firewall/security-rule-hitcount-not-incrementing-but-traffic-monitor/m-p/562573#M1977</link>
      <description>&lt;P&gt;Well, I dunno if this helps out, but we have upgraded the firewall a couple of times.&amp;nbsp; Could have been a bug on that specific version that we were running at the time (I don't remember what it was).&amp;nbsp; Today we run v10.1.10-h1.&amp;nbsp; Have U tried upgrading it?&lt;/P&gt;</description>
      <pubDate>Fri, 20 Oct 2023 13:14:08 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/next-generation-firewall/security-rule-hitcount-not-incrementing-but-traffic-monitor/m-p/562573#M1977</guid>
      <dc:creator>Juan_Alvarez</dc:creator>
      <dc:date>2023-10-20T13:14:08Z</dc:date>
    </item>
    <item>
      <title>Re: Security Rule hitcount not incrementing, but traffic monitor shows rule being used on PA-850</title>
      <link>https://live.paloaltonetworks.com/t5/next-generation-firewall/security-rule-hitcount-not-incrementing-but-traffic-monitor/m-p/562574#M1978</link>
      <description>&lt;P&gt;We're currently on 10.1.10 but will upgrade to 10.2 soon, maybe this will change something.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Oct 2023 13:16:00 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/next-generation-firewall/security-rule-hitcount-not-incrementing-but-traffic-monitor/m-p/562574#M1978</guid>
      <dc:creator>sam-wuergler</dc:creator>
      <dc:date>2023-10-20T13:16:00Z</dc:date>
    </item>
    <item>
      <title>Re: Security Rule hitcount not incrementing, but traffic monitor shows rule being used on PA-850</title>
      <link>https://live.paloaltonetworks.com/t5/next-generation-firewall/security-rule-hitcount-not-incrementing-but-traffic-monitor/m-p/581261#M2863</link>
      <description>&lt;P&gt;What helped in my case is going to Device --&amp;gt; Setup --&amp;gt; Management.&lt;/P&gt;
&lt;P&gt;Then go to&amp;nbsp;&lt;SPAN&gt;Policy Rulebase Settings.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Uncheck&amp;nbsp;Policy Rule Hit Count, click OK&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Then open&amp;nbsp;Policy Rulebase Settings and check&amp;nbsp;Policy Rule Hit Count&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;And then Commit.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;After that I started seeing Policy Hit count.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Mar 2024 22:36:50 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/next-generation-firewall/security-rule-hitcount-not-incrementing-but-traffic-monitor/m-p/581261#M2863</guid>
      <dc:creator>AlexMotenko</dc:creator>
      <dc:date>2024-03-21T22:36:50Z</dc:date>
    </item>
  </channel>
</rss>

