<?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 Raw log file extraction in General Topics</title>
    <link>https://live.paloaltonetworks.com/t5/general-topics/raw-log-file-extraction/m-p/173829#M54665</link>
    <description>&lt;P&gt;Hi All ,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone tell how to extract &amp;nbsp;old the log files from CLI , is there any dirctory to reach which contains log file please provide us the path .&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 30 Aug 2017 12:17:29 GMT</pubDate>
    <dc:creator>Himarya</dc:creator>
    <dc:date>2017-08-30T12:17:29Z</dc:date>
    <item>
      <title>Raw log file extraction</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/raw-log-file-extraction/m-p/173829#M54665</link>
      <description>&lt;P&gt;Hi All ,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone tell how to extract &amp;nbsp;old the log files from CLI , is there any dirctory to reach which contains log file please provide us the path .&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Aug 2017 12:17:29 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/raw-log-file-extraction/m-p/173829#M54665</guid>
      <dc:creator>Himarya</dc:creator>
      <dc:date>2017-08-30T12:17:29Z</dc:date>
    </item>
    <item>
      <title>Re: Raw log file extraction</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/raw-log-file-extraction/m-p/173846#M54667</link>
      <description>&lt;P&gt;you can use scp|tftp export to extract log files off the device:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;admin@myNGFW&amp;gt; scp export log
&amp;gt; log        Use scp to export log in csv format
&amp;gt; log-file   Use scp to export log-file
&amp;gt; logdb      Use scp to export logdb&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;'log' is in relation to traffic passing through the firewall &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;admin@myNGFW&amp;gt; scp export log 
&amp;gt; alarm      alarm 
&amp;gt; auth       auth 
&amp;gt; config     config 
&amp;gt; data       data 
&amp;gt; system     system 
&amp;gt; threat     threat 
&amp;gt; traffic    traffic 
&amp;gt; tunnel     tunnel 
&amp;gt; url        url 
&amp;gt; userid     userid 
&amp;gt; wildfire   wildfire 
&lt;/PRE&gt;
&lt;P&gt;while 'log-file' is in relation to system logs from system processes on dataplane or management-plane&lt;/P&gt;
&lt;PRE&gt;admin@myNGFW&amp;gt; scp export log-file 
&amp;gt; data-plane         Use scp to export data-plane log-file
&amp;gt; management-plane   Use scp to export management-plane log-file
&lt;/PRE&gt;
&lt;P&gt;'logdb' is the whole (traffic+threat+...) log database&lt;/P&gt;</description>
      <pubDate>Wed, 30 Aug 2017 12:50:14 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/raw-log-file-extraction/m-p/173846#M54667</guid>
      <dc:creator>reaper</dc:creator>
      <dc:date>2017-08-30T12:50:14Z</dc:date>
    </item>
    <item>
      <title>Re: Raw log file extraction</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/raw-log-file-extraction/m-p/174057#M54731</link>
      <description>&lt;P&gt;Hi All,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes we can use the command scp export log but where it will get exported is there any directory from where we have to extract further .&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Secondly , iwant to exatract old logs 60 days old, so how can we do that because in the command there is no such option available.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thirdly , does logs can be extracted via Winscp?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2017 08:01:13 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/raw-log-file-extraction/m-p/174057#M54731</guid>
      <dc:creator>Himarya</dc:creator>
      <dc:date>2017-08-31T08:01:13Z</dc:date>
    </item>
    <item>
      <title>Re: Raw log file extraction</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/raw-log-file-extraction/m-p/174093#M54736</link>
      <description>&lt;P&gt;1. The firewall is not a traditional operating system so there are no directories, you just select which source you want to export from (you can use the &amp;lt;tab&amp;gt; key to help you browse the commands),&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-&amp;gt; log (and choose which log to export: traffic, threat, url,...)&lt;/P&gt;
&lt;P&gt;-&amp;gt; or log-file (and choose ALL the management-plane or ALL the dataplane logs)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. for the traffic related logs there are a few filters you can apply but not 'older than' (this can be achieved through the GUI however)&lt;/P&gt;
&lt;PRE&gt;admin@EMEA-TAC-GW&amp;gt; scp export log traffic 
+ max-log-count   max number of logs to export
+ query           query 
+ remote-port     SSH port number on remote host
+ source-ip       Set source address to specified interface address
* end-time        end-time 
* start-time      start-time 
* to              Destination (username@host:path_to_destination_filename)&lt;/PRE&gt;
&lt;P&gt;in the GUI you can simply use a filter and export to CSV&lt;/P&gt;
&lt;PRE&gt;( receive_time leq '2017/06/31 00:00:01' )&lt;/PRE&gt;
&lt;P&gt;3. no, only to a *nux device, but you can also do tftp export to a windows server running tftp&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2017 10:28:01 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/raw-log-file-extraction/m-p/174093#M54736</guid>
      <dc:creator>reaper</dc:creator>
      <dc:date>2017-08-31T10:28:01Z</dc:date>
    </item>
    <item>
      <title>Re: Raw log file extraction</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/raw-log-file-extraction/m-p/174523#M54831</link>
      <description>&lt;P&gt;HI All,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From GUI i have use the command&amp;nbsp;( receive_time leq '2017/07/31 00:00:01' ) but no output is coming so that means in GUI the old logs is not there , I have a task of extracting MAY month RAW logs in csv format without any TFTP or SCP server as destination &amp;nbsp;is there any way of extracting three months LOGS from Palo Alto via CLI .&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Sep 2017 05:55:16 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/raw-log-file-extraction/m-p/174523#M54831</guid>
      <dc:creator>Himarya</dc:creator>
      <dc:date>2017-09-04T05:55:16Z</dc:date>
    </item>
    <item>
      <title>Re: Raw log file extraction</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/raw-log-file-extraction/m-p/174543#M54834</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/69002"&gt;@Himarya&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if the log does not show up on the GUI, it is also not available on the CLI. it may have been removed to make room for new log&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;from the cli you can easily verify which logs are the oldes on your system as the 'show log' command will sort old to new by default:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;tpiens@myNGFW(active)&amp;gt; show log traffic 
Time                App             From                            Src Port          Source
Rule                Action          To                              Dst Port          Destination
                    Src User        Dst User                        End Reason
====================================================================================================
&lt;STRONG&gt;2016/05/10 11:08:49&lt;/STRONG&gt; ssl             v1-isp2                         32920             10.192.16.81
policy2              allow           v1-dynroute                     443               198.51.100.5
                                                                    aged-out
&lt;STRONG&gt;2016/05/10 11:09:30&lt;/STRONG&gt; unknown-udp     v1-isp2                         48504             10.192.16.81
policy2              allow           v1-dynroute                     1194              198.51.100.5
                                                                    aged-out
2016/05/10 11:09:33 unknown-tcp     local                           51437             172.16.1.228
WAN-connection      allow           remote                          7123              192.168.1.1
                                                                    tcp-fin
&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;extraction via the CLI can only be accomplished via scp or tftp&lt;/P&gt;</description>
      <pubDate>Mon, 04 Sep 2017 07:52:01 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/raw-log-file-extraction/m-p/174543#M54834</guid>
      <dc:creator>reaper</dc:creator>
      <dc:date>2017-09-04T07:52:01Z</dc:date>
    </item>
  </channel>
</rss>

