<?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: Find the log file size from gateway in Firewall and Security Management</title>
    <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Find-the-log-file-size-from-gateway/m-p/61149#M94687</link>
    <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How to check logs sent per gateway for R77.30 management. it is for R80 as per&amp;nbsp;&lt;STRONG&gt;sk120341.&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;We are going to configure new management as we will be migrating to a new VM having R80.20. need to understand&amp;nbsp; how much disk space should be provisioned for this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;we have TB of logs space and it get filled in 3 days &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks !!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 25 Aug 2019 12:01:37 GMT</pubDate>
    <dc:creator>chiranjeev</dc:creator>
    <dc:date>2019-08-25T12:01:37Z</dc:date>
    <item>
      <title>Find the log file size from gateway</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Find-the-log-file-size-from-gateway/m-p/31951#M94684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;We have 3 gateways (Gaia R77.30) in 3 different sites&amp;nbsp; and Management server in other&amp;nbsp; site,&amp;nbsp; all 4 sites have a MPLS connectivity, all 3 gateways are sending logs to management server.&lt;/P&gt;&lt;P&gt;Is there any way to find how much logs are send from&amp;nbsp; Each gateway to management server?.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;appreciate your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2018 08:57:43 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Find-the-log-file-size-from-gateway/m-p/31951#M94684</guid>
      <dc:creator>rajesh_s</dc:creator>
      <dc:date>2018-06-19T08:57:43Z</dc:date>
    </item>
    <item>
      <title>Re: Find the log file size from gateway</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Find-the-log-file-size-from-gateway/m-p/31952#M94685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Don't know about a way to find out from each gateway. You can run this command on your management server (R80.x) in expert mode to find log receive rate from each individual gateway at the moment:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;cpstat mg -f log_server&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it's possible to stop two of the gateways from sending logs to managment and instead locally for a while. Then you can run this while you test for the remaining gateway&amp;nbsp;&lt;A href="https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&amp;amp;solutionid=sk88681"&gt;How to calculate/count the total amount of FireWall Logs per second that arrive to Security Management Server&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After you have stopped two of the gateways from logging to management you could also have run the command &lt;STRONG&gt;fw logswitch&lt;/STRONG&gt;&amp;nbsp;to rotate the active log file and to see the size increase for the remaining gateway in fw.log.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you get a better solution.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #000000; background-color: #ffffff; font-size: 14px;"&gt;&lt;CODE&gt;&lt;/CODE&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #000000; background-color: #ffffff; font-size: 14px;"&gt;&lt;CODE&gt;&lt;/CODE&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #000000; background-color: #ffffff; font-size: 14px;"&gt;&lt;CODE&gt;&lt;/CODE&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2018 13:14:20 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Find-the-log-file-size-from-gateway/m-p/31952#M94685</guid>
      <dc:creator>ED</dc:creator>
      <dc:date>2018-06-19T13:14:20Z</dc:date>
    </item>
    <item>
      <title>Re: Find the log file size from gateway</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Find-the-log-file-size-from-gateway/m-p/31953#M94686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #333333; background-color: #ffffff; border: 0px; font-weight: bold;"&gt;&lt;STRONG&gt;'cpstat mg -f log_server' &lt;/STRONG&gt;&lt;/SPAN&gt;should already show the results&amp;nbsp;per gateway, no need to stop the other two gateways.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;&amp;nbsp;Yonatan&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2018 15:00:27 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Find-the-log-file-size-from-gateway/m-p/31953#M94686</guid>
      <dc:creator>Yonatan_Philip</dc:creator>
      <dc:date>2018-06-19T15:00:27Z</dc:date>
    </item>
    <item>
      <title>Re: Find the log file size from gateway</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Find-the-log-file-size-from-gateway/m-p/61149#M94687</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How to check logs sent per gateway for R77.30 management. it is for R80 as per&amp;nbsp;&lt;STRONG&gt;sk120341.&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;We are going to configure new management as we will be migrating to a new VM having R80.20. need to understand&amp;nbsp; how much disk space should be provisioned for this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;we have TB of logs space and it get filled in 3 days &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks !!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 25 Aug 2019 12:01:37 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Find-the-log-file-size-from-gateway/m-p/61149#M94687</guid>
      <dc:creator>chiranjeev</dc:creator>
      <dc:date>2019-08-25T12:01:37Z</dc:date>
    </item>
    <item>
      <title>Re: Find the log file size from gateway</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Find-the-log-file-size-from-gateway/m-p/61213#M94688</link>
      <description>&lt;P&gt;&lt;U&gt;General answer&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;to sum entire Log Dir (on Mgmt/Log-Server):&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &lt;STRONG&gt;du -sh $FWDIR/log/&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;a specific day (Aug-26th - 2019)&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &lt;STRONG&gt;du -sh $FWDIR/log/2019-08-26*.log&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;(Add ~6% if you just count the .log, as it's simpler)&lt;/P&gt;
&lt;P&gt;I'd calculate your log dir size of one day &amp;amp; choose storage accordingly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;for per GW on R77.x&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;Ed's suggestion&amp;nbsp;or probably simpler:&lt;/P&gt;
&lt;P&gt;Open SmartviewTracker &amp;gt; Pick a closed log-file (a representative avg one) &amp;gt; Filter by your chosen GW's origin &amp;gt; Count no. of logs.&lt;/P&gt;
&lt;P&gt;Calculate the time-frame of this log-file: between the previous one's closing time &amp;amp; this one's closing time.&lt;/P&gt;
&lt;P&gt;Extrapolate this GW's no. of logs to a full day and so on...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;for per GW on R80.x onwards&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;You'll be able to easily use the cpstat mg/ls -f log_server/logging on your Mgmt/LS, as suggested already.&lt;/P&gt;
&lt;P&gt;for a GW: &lt;STRONG&gt;cpstat fw -f log_connection&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Aug 2019 09:01:38 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Find-the-log-file-size-from-gateway/m-p/61213#M94688</guid>
      <dc:creator>Dror_Aharony</dc:creator>
      <dc:date>2019-08-26T09:01:38Z</dc:date>
    </item>
  </channel>
</rss>

