<?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 Log file retrieval in Firewall and Security Management</title>
    <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Log-file-retrieval/m-p/236554#M63564</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;Our SMS doesn't show logs after 15 days. However, I observed logs in the &lt;CODE&gt;/var/log/opt/CPsuite-R81.10/fw1/log&lt;/CODE&gt; directory. How can I retrieve these logs and have them displayed on the Smart Console?&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Sat, 21 Dec 2024 06:20:51 GMT</pubDate>
    <dc:creator>Ihenock1011</dc:creator>
    <dc:date>2024-12-21T06:20:51Z</dc:date>
    <item>
      <title>Log file retrieval</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Log-file-retrieval/m-p/236554#M63564</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;Our SMS doesn't show logs after 15 days. However, I observed logs in the &lt;CODE&gt;/var/log/opt/CPsuite-R81.10/fw1/log&lt;/CODE&gt; directory. How can I retrieve these logs and have them displayed on the Smart Console?&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sat, 21 Dec 2024 06:20:51 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Log-file-retrieval/m-p/236554#M63564</guid>
      <dc:creator>Ihenock1011</dc:creator>
      <dc:date>2024-12-21T06:20:51Z</dc:date>
    </item>
    <item>
      <title>Re: Log file retrieval</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Log-file-retrieval/m-p/236556#M63565</link>
      <description>&lt;P&gt;I think these are the index logs. Under the relevant object in SmartConsole you can open it and see under logs what days have been set there. If this matches the 15 says it means it works as it should. Can you confirm if you search logs you can search further back then 15 days? It could be a bit slower if you search further back of time. This is normal. index logs makes searching more quick but use more disk space.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 21 Dec 2024 09:12:09 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Log-file-retrieval/m-p/236556#M63565</guid>
      <dc:creator>Lesley</dc:creator>
      <dc:date>2024-12-21T09:12:09Z</dc:date>
    </item>
    <item>
      <title>Re: Log file retrieval</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Log-file-retrieval/m-p/236567#M63566</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/96626"&gt;@Ihenock1011&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I thought, you checked the avaialble space on the partititon etc...&lt;/P&gt;
&lt;P&gt;But befere you dig into the debugging, run #evstop then #evstart command. I can solve a lot ot indexing problems.&lt;/P&gt;
&lt;P&gt;Here is an SK about how to reindexing logs:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://support.checkpoint.com/results/sk/sk164553" target="_blank"&gt;https://support.checkpoint.com/results/sk/sk164553&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Be careful, I takes time &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Akos&lt;/P&gt;</description>
      <pubDate>Sat, 21 Dec 2024 15:35:40 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Log-file-retrieval/m-p/236567#M63566</guid>
      <dc:creator>AkosBakos</dc:creator>
      <dc:date>2024-12-21T15:35:40Z</dc:date>
    </item>
    <item>
      <title>Re: Log file retrieval</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Log-file-retrieval/m-p/236570#M63567</link>
      <description>&lt;P&gt;To retrieve logs from the /var/log/opt/CPsuite-R81.10/fw1/log directory and display them on the Smart Console, you can use the fw fetchlogs command. Here’s how you can do it:&lt;/P&gt;
&lt;P&gt;1) List Available Logs: First, list the available log files on your Management Server using the following command:&lt;/P&gt;
&lt;P&gt;[Expert@HostName:0]# fw lslogs MyGW&lt;/P&gt;
&lt;P&gt;This will show you the log files available for fetching.&lt;/P&gt;
&lt;P&gt;2) Fetch Specific Log Files: Use the fw fetchlogs command to fetch the desired log file. Replace 2024-06-01_000000 with the actual log file name you want to fetch:&lt;/P&gt;
&lt;P&gt;[Expert@HostName:0]# fw fetchlogs -f 2024-06-01_000000 MyGW&lt;/P&gt;
&lt;P&gt;3) This command will fetch the specified log file from the Management Server.&lt;/P&gt;
&lt;P&gt;Verify Log Files: After fetching, verify that the log files are present in the $FWDIR/log directory:&lt;/P&gt;
&lt;P&gt;[Expert@HostName:0]# ls $FWDIR/log/MyGW*&lt;/P&gt;
&lt;P&gt;4) Check Smart Console: Once the logs are fetched, they should be available in the Smart Console under Logs &amp;amp; Monitoring.&lt;/P&gt;
&lt;P&gt;If you encounter any issues with logs not appearing in Smart Console, it might be due to a corrupted log indexing database. In such cases, you may need to clear or reset the log indexing database. For detailed steps on this, refer to this solution &lt;A href="https://support.checkpoint.com/results/sk/sk168812" target="_self"&gt;sk168812&lt;/A&gt;&amp;nbsp;.&lt;/P&gt;</description>
      <pubDate>Sat, 21 Dec 2024 19:15:24 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Log-file-retrieval/m-p/236570#M63567</guid>
      <dc:creator>HeikoAnkenbrand</dc:creator>
      <dc:date>2024-12-21T19:15:24Z</dc:date>
    </item>
    <item>
      <title>Re: Log file retrieval</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Log-file-retrieval/m-p/236605#M63568</link>
      <description>&lt;P&gt;Most likely the thing to check.&lt;/P&gt;
&lt;P&gt;You can also see your current index retention value with "cat $FWDIR/conf/log_policy.C | grep -i index_delete_older_than_value".&lt;/P&gt;
&lt;P&gt;Or on the Management/dedicated log server under Logs -&amp;gt; Storage -&amp;gt; under "Daily Logs Retention Configuration":&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 766px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/28964iD77BE2E024A25859/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 22 Dec 2024 12:34:55 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Log-file-retrieval/m-p/236605#M63568</guid>
      <dc:creator>Amir_Senn</dc:creator>
      <dc:date>2024-12-22T12:34:55Z</dc:date>
    </item>
    <item>
      <title>Re: Log file retrieval</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Log-file-retrieval/m-p/236647#M63569</link>
      <description>&lt;P&gt;When I search logs back 15 days, I am unable to retrieve them. I managed to open the log files older than 15 days : go to "Logs," then click on the three lines, select "File," open "Logfiles," and navigate to the specific date I looking for.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Dec 2024 06:22:17 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Log-file-retrieval/m-p/236647#M63569</guid>
      <dc:creator>Ihenock1011</dc:creator>
      <dc:date>2024-12-23T06:22:17Z</dc:date>
    </item>
    <item>
      <title>Re: Log file retrieval</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Log-file-retrieval/m-p/236672#M63570</link>
      <description>&lt;P&gt;This validates it's indexing related. Try to search the things I mentioned in the post and see if you save indexes only for 14 days (which is the default with "Daily Retention" turned on).&lt;/P&gt;</description>
      <pubDate>Mon, 23 Dec 2024 11:29:09 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Log-file-retrieval/m-p/236672#M63570</guid>
      <dc:creator>Amir_Senn</dc:creator>
      <dc:date>2024-12-23T11:29:09Z</dc:date>
    </item>
  </channel>
</rss>

