<?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: Exporting traffic logs via CLI - scp in General Topics</title>
    <link>https://live.paloaltonetworks.com/t5/general-topics/exporting-traffic-logs-via-cli-scp/m-p/47815#M35150</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The Gui does have a "Group By" field when you create Custom Reports.&amp;nbsp; I was looking to find a way to do something similar via command line and scp over to remote host.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Mar 2013 21:49:51 GMT</pubDate>
    <dc:creator>opiedrah</dc:creator>
    <dc:date>2013-03-27T21:49:51Z</dc:date>
    <item>
      <title>Exporting traffic logs via CLI - scp</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/exporting-traffic-logs-via-cli-scp/m-p/47813#M35148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there a way to group by source or destination address from the cli. for example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;scp export log traffic query "(port eq 514) and ( proto eq tcp ) and ( app eq insufficient-data ) or (app eq unknown-tcp)" start-time equal 2013/03/18@01:00:00 end-time equal 2013/03/26@01:00:00 to foobar@x.x.x.x:/home/orlando/unknown-tcp.csv&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This returns tons of values, how can i do the same but have it group by Source Address or Destination Address?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.rtt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Mar 2013 20:41:42 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/exporting-traffic-logs-via-cli-scp/m-p/47813#M35148</guid>
      <dc:creator>opiedrah</dc:creator>
      <dc:date>2013-03-27T20:41:42Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting traffic logs via CLI - scp</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/exporting-traffic-logs-via-cli-scp/m-p/47814#M35149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;CLI or even WebUI do not have a feature to GroupBY a field (eg: IP address) , unless you tune your query to filter results based on that feild. &lt;/P&gt;&lt;P&gt;You can always use&amp;nbsp; MS Excel to group the results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ameya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Mar 2013 21:38:09 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/exporting-traffic-logs-via-cli-scp/m-p/47814#M35149</guid>
      <dc:creator>UhMayYeah</dc:creator>
      <dc:date>2013-03-27T21:38:09Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting traffic logs via CLI - scp</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/exporting-traffic-logs-via-cli-scp/m-p/47815#M35150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The Gui does have a "Group By" field when you create Custom Reports.&amp;nbsp; I was looking to find a way to do something similar via command line and scp over to remote host.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Mar 2013 21:49:51 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/exporting-traffic-logs-via-cli-scp/m-p/47815#M35150</guid>
      <dc:creator>opiedrah</dc:creator>
      <dc:date>2013-03-27T21:49:51Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting traffic logs via CLI - scp</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/exporting-traffic-logs-via-cli-scp/m-p/47816#M35151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is no literal group by functionality but you should be able to achieve similar results by expanding your query to include source and destination addresses.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;scp export log traffic query equal "(src eq 192.168.142.212 or src eq 172.17.128.140) and (port eq 443)"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;show log traffic direction equal backward query equal "(src eq 192.168.142.212 or src eq 172.17.128.140) and (port eq 443)"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above query will return all traffic logs with either of the source addresses above and port 443 traffic.&amp;nbsp; &lt;/P&gt;&lt;P&gt;Another example covers both source and destination addresses:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;show log traffic direction equal backward query equal "( addr.src in 192.168.142.212 ) and ( addr.dst in 208.67.222.222 or addr.dst in 172.17.132.243 ) and ( port.dst eq 53 )"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;-Bryan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Mar 2013 21:50:19 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/exporting-traffic-logs-via-cli-scp/m-p/47816#M35151</guid>
      <dc:creator>bvandivier</dc:creator>
      <dc:date>2013-03-27T21:50:19Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting traffic logs via CLI - scp</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/exporting-traffic-logs-via-cli-scp/m-p/47817#M35152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not surprised it can't do this, but figure i ask anyways.&amp;nbsp; Thank you for your time, i'll see if i put in a feature request. The GUI takes so darn long, if we could do scp to .csv file while reducing the file size by "Grouping" scripts could be written to&amp;nbsp; manipulate the data. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Mar 2013 21:56:03 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/exporting-traffic-logs-via-cli-scp/m-p/47817#M35152</guid>
      <dc:creator>opiedrah</dc:creator>
      <dc:date>2013-03-27T21:56:03Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting traffic logs via CLI - scp</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/exporting-traffic-logs-via-cli-scp/m-p/47818#M35153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Another workaround might be to enable syslog for TRAFFIC logs (and/or THREATS aswell, and while you are at it CONFIG and SYSTEM too :smileysilly:) - this way you will have the logs in csv format at your syslog server (PA default mode for syslogging is in csv format).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Mar 2013 21:20:27 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/exporting-traffic-logs-via-cli-scp/m-p/47818#M35153</guid>
      <dc:creator>mikand</dc:creator>
      <dc:date>2013-03-28T21:20:27Z</dc:date>
    </item>
  </channel>
</rss>

