<?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: Get objects and number of references in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Get-objects-and-number-of-references/m-p/207808#M8382</link>
    <description>&lt;P&gt;Show hosts reference in MGMT API reference guide:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://sc1.checkpoint.com/documents/latest/APIs/index.html#cli/show-hosts~v1.9.1%20" target="_blank"&gt;https://sc1.checkpoint.com/documents/latest/APIs/index.html#cli/show-hosts~v1.9.1%20&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I think that hits can be seen by number of logs containing host name either by source or destination, so you can try show logs with filter source host name OR dst host name and collect number of logs in the timeframe.&lt;/P&gt;
&lt;P&gt;Show logs reference in MGMT API reference guide:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://sc1.checkpoint.com/documents/latest/APIs/index.html#cli/show-logs~v1.9.1%20" target="_blank"&gt;https://sc1.checkpoint.com/documents/latest/APIs/index.html#cli/show-logs~v1.9.1%20&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I think you can also try to use SmartView to create a more comprehensive views and reports.&lt;/P&gt;</description>
    <pubDate>Tue, 05 Mar 2024 09:09:05 GMT</pubDate>
    <dc:creator>Amir_Senn</dc:creator>
    <dc:date>2024-03-05T09:09:05Z</dc:date>
    <item>
      <title>Get objects and number of references</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Get-objects-and-number-of-references/m-p/207783#M8381</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there a way I can retrieve a list of objects, lets say hosts, and get a numeric value output of how many times they are used across all policies?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2024 22:05:56 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Get-objects-and-number-of-references/m-p/207783#M8381</guid>
      <dc:creator>Ryan_Ryan</dc:creator>
      <dc:date>2024-03-04T22:05:56Z</dc:date>
    </item>
    <item>
      <title>Re: Get objects and number of references</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Get-objects-and-number-of-references/m-p/207808#M8382</link>
      <description>&lt;P&gt;Show hosts reference in MGMT API reference guide:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://sc1.checkpoint.com/documents/latest/APIs/index.html#cli/show-hosts~v1.9.1%20" target="_blank"&gt;https://sc1.checkpoint.com/documents/latest/APIs/index.html#cli/show-hosts~v1.9.1%20&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I think that hits can be seen by number of logs containing host name either by source or destination, so you can try show logs with filter source host name OR dst host name and collect number of logs in the timeframe.&lt;/P&gt;
&lt;P&gt;Show logs reference in MGMT API reference guide:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://sc1.checkpoint.com/documents/latest/APIs/index.html#cli/show-logs~v1.9.1%20" target="_blank"&gt;https://sc1.checkpoint.com/documents/latest/APIs/index.html#cli/show-logs~v1.9.1%20&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I think you can also try to use SmartView to create a more comprehensive views and reports.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2024 09:09:05 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Get-objects-and-number-of-references/m-p/207808#M8382</guid>
      <dc:creator>Amir_Senn</dc:creator>
      <dc:date>2024-03-05T09:09:05Z</dc:date>
    </item>
  </channel>
</rss>

