<?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: Traffic Report: How much destination hosts contacted in General Topics</title>
    <link>https://live.paloaltonetworks.com/t5/general-topics/traffic-report-how-much-destination-hosts-contacted/m-p/7273#M5388</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure if the API specifically reports on session information, but there is a PAN API that exposes a bunch of information. Here's an overview:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A __default_attr="1583" __jive_macro_name="document" class="jive_macro jive_macro_document" href="https://live.paloaltonetworks.com/"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also here is the XML API documentation:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A __default_attr="4126" __jive_macro_name="document" class="jive_macro jive_macro_document" href="https://live.paloaltonetworks.com/"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm betting that what you're requesting is possible with the API... possibly combined with a custom report built on the firewall and then 'pulling' that report via the API&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 17 Feb 2013 02:23:47 GMT</pubDate>
    <dc:creator>ericgearhart</dc:creator>
    <dc:date>2013-02-17T02:23:47Z</dc:date>
    <item>
      <title>Traffic Report: How much destination hosts contacted</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/traffic-report-how-much-destination-hosts-contacted/m-p/7272#M5387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Community!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a predefined traffic report "Connections": It shows per row how much connections (sessions) a source host has made to a specific destination host. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to create a report which shows per row how much distinct destination hosts a source host has contacted? This could be useful for example to recognize if a source host is scanning a lot of different destinations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me explain it further.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The "Connections" report shows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="147.66666662693024" style="border: 1px solid rgb(0, 0, 0); width: 256.66666662693024px; height: 145.66666662693024px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Source Host&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Destination Host&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Sessions&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;SrcA&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;DstA&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;50&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;SrcB&lt;/TD&gt;&lt;TD&gt;DstB&lt;/TD&gt;&lt;TD&gt;40&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;SrcA&lt;/TD&gt;&lt;TD&gt;DstC&lt;/TD&gt;&lt;TD&gt;30&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;SrcB&lt;/TD&gt;&lt;TD&gt;DstA&lt;/TD&gt;&lt;TD&gt;20&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;SrcB&lt;/TD&gt;&lt;TD&gt;DstD&lt;/TD&gt;&lt;TD&gt;10&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was trying to create a report like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="73.66666662693024" style="border: 1px solid #000000; width: 280.66666662693024px; height: 73.66666662693024px;" width="279.66666662693024"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Source Host&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Destination Hosts Contacted&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;SrcB&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;SrcA&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you think this is possible?&lt;/P&gt;&lt;P&gt;Is there a way to query the database(s) in the PA directly (via SQL)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;E.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Model: PA-5020&lt;/P&gt;&lt;P&gt;Software version: 5.0.2&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Feb 2013 21:22:48 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/traffic-report-how-much-destination-hosts-contacted/m-p/7272#M5387</guid>
      <dc:creator>E</dc:creator>
      <dc:date>2013-02-16T21:22:48Z</dc:date>
    </item>
    <item>
      <title>Re: Traffic Report: How much destination hosts contacted</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/traffic-report-how-much-destination-hosts-contacted/m-p/7273#M5388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure if the API specifically reports on session information, but there is a PAN API that exposes a bunch of information. Here's an overview:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A __default_attr="1583" __jive_macro_name="document" class="jive_macro jive_macro_document" href="https://live.paloaltonetworks.com/"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also here is the XML API documentation:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A __default_attr="4126" __jive_macro_name="document" class="jive_macro jive_macro_document" href="https://live.paloaltonetworks.com/"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm betting that what you're requesting is possible with the API... possibly combined with a custom report built on the firewall and then 'pulling' that report via the API&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 Feb 2013 02:23:47 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/traffic-report-how-much-destination-hosts-contacted/m-p/7273#M5388</guid>
      <dc:creator>ericgearhart</dc:creator>
      <dc:date>2013-02-17T02:23:47Z</dc:date>
    </item>
    <item>
      <title>Re: Traffic Report: How much destination hosts contacted</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/traffic-report-how-much-destination-hosts-contacted/m-p/7274#M5389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear egearhart!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I followed your advice and browsed the REST API.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are three types of reports you can get with it:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Dynamic Reports: They are predefined and you can only set the timeframe and the number of rows. There is no connection report or the like.&lt;/LI&gt;&lt;LI&gt;Predefined Reports: These are the same predefined reports you can via the web page, including the top-connections report i mentioned.&lt;/LI&gt;&lt;LI&gt;Custom Reports: You can get retrieve the results of custom reports. But you have to create this report on the webpage.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also could not find a way to query the traffic databases on the PA with SQL via the REST API.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the question still persists: Has&amp;nbsp; someone an idea how to create a custom report which counts the destination hosts a source host contacted?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Otherwise the only way to create such a report would be to retrieve the traffic log of the last day somehow, feed it into a database (such as MySQL) and do the queries there. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since 5.0.0 you can retrieve logs via REST API. But there is a maximum of 5000 rows. Is there another way?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 Feb 2013 19:40:03 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/traffic-report-how-much-destination-hosts-contacted/m-p/7274#M5389</guid>
      <dc:creator>E</dc:creator>
      <dc:date>2013-02-17T19:40:03Z</dc:date>
    </item>
  </channel>
</rss>

