<?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: any examples of show-sessions with filter? (Console, API, mgt_cli or python) in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/any-examples-of-show-sessions-with-filter-Console-API-mgt-cli-or/m-p/153659#M7010</link>
    <description>&lt;P&gt;You provided a link to the version 1.7 documentation (i.e. R81 management), which does not offer the filter option.&lt;BR /&gt;The filter is present in R81.10 (i.e. API version 1.8).&amp;nbsp;&lt;BR /&gt;Are you using R81.10 Management?&amp;nbsp;&lt;BR /&gt;If you're not, you'll need to upgrade to use this feature.&lt;BR /&gt;If you are using this version, please show the precise call your making as well as the equivalent results from the same searche in Object Explorer in SmartConsole.&lt;/P&gt;</description>
    <pubDate>Fri, 22 Jul 2022 21:54:31 GMT</pubDate>
    <dc:creator>PhoneBoy</dc:creator>
    <dc:date>2022-07-22T21:54:31Z</dc:date>
    <item>
      <title>any examples of show-sessions with filter? (Console, API, mgt_cli or python)</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/any-examples-of-show-sessions-with-filter-Console-API-mgt-cli-or/m-p/153367#M7007</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;Has someone used filter in show-sessions ? I need examples which functions&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I do it per console or with python API the answer is always as if filter would be ignored and send back the first sessions.&lt;/P&gt;&lt;P&gt;console: show sessions&amp;nbsp;view-published-sessions true filter "mytext-inside-the-field-name"&lt;BR /&gt;API: show-sessions with ploads&amp;nbsp; &amp;nbsp; &amp;nbsp; { ....., "view-published-sessions":true,"filter":"mytext-inside-the-field-name" } )&lt;/P&gt;&lt;P&gt;I get always the 50 first changes.&lt;/P&gt;&lt;P&gt;Is it functioning with filter ? Does anyone know, how to use it ?&lt;/P&gt;&lt;P&gt;Thank you for your help&lt;/P&gt;&lt;P&gt;Jean-Michel&lt;/P&gt;&lt;P&gt;DOC:&amp;nbsp;&lt;A href="https://sc1.checkpoint.com/documents/latest/APIs/index.html#web/show-sessions~v1.7" target="_blank" rel="noopener"&gt;https://sc1.checkpoint.com/documents/latest/APIs/index.html#web/show-sessions~v1.7&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Parameter name Value Description&lt;BR /&gt;filter string Search expression to filter objects by. The provided text should be exactly the same as it would be given in SmartConsole Object Explorer. The logical operators in the expression ('AND', 'OR') should be provided in capital letters. The search involves both a IP search and a textual search in name, comment, tags etc.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jul 2022 10:19:57 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/any-examples-of-show-sessions-with-filter-Console-API-mgt-cli-or/m-p/153367#M7007</guid>
      <dc:creator>pepj</dc:creator>
      <dc:date>2022-07-19T10:19:57Z</dc:date>
    </item>
    <item>
      <title>Re: any examples of show-sessions with filter? (Console, API, mgt_cli or python)</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/any-examples-of-show-sessions-with-filter-Console-API-mgt-cli-or/m-p/153659#M7010</link>
      <description>&lt;P&gt;You provided a link to the version 1.7 documentation (i.e. R81 management), which does not offer the filter option.&lt;BR /&gt;The filter is present in R81.10 (i.e. API version 1.8).&amp;nbsp;&lt;BR /&gt;Are you using R81.10 Management?&amp;nbsp;&lt;BR /&gt;If you're not, you'll need to upgrade to use this feature.&lt;BR /&gt;If you are using this version, please show the precise call your making as well as the equivalent results from the same searche in Object Explorer in SmartConsole.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jul 2022 21:54:31 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/any-examples-of-show-sessions-with-filter-Console-API-mgt-cli-or/m-p/153659#M7010</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2022-07-22T21:54:31Z</dc:date>
    </item>
    <item>
      <title>Re: any examples of show-sessions with filter? (Console, API, mgt_cli or python)</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/any-examples-of-show-sessions-with-filter-Console-API-mgt-cli-or/m-p/155233#M7062</link>
      <description>&lt;P&gt;Hi Admin&lt;/P&gt;&lt;P&gt;was 1.7.1 but we upgraded to R81.10 and use now API 1.8&lt;/P&gt;&lt;P&gt;The issue is still there ( I looked on console )&lt;/P&gt;&lt;P&gt;for example filter containing a word that should be on the session-name give back all the first sessions.&lt;/P&gt;&lt;P&gt;cheer&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Aug 2022 16:20:23 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/any-examples-of-show-sessions-with-filter-Console-API-mgt-cli-or/m-p/155233#M7062</guid>
      <dc:creator>pepj</dc:creator>
      <dc:date>2022-08-18T16:20:23Z</dc:date>
    </item>
    <item>
      <title>Re: any examples of show-sessions with filter? (Console, API, mgt_cli or python)</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/any-examples-of-show-sessions-with-filter-Console-API-mgt-cli-or/m-p/155241#M7063</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Please show the precise call you are making via the API, the results you get from the API, and the equivalent results from the same search in Object Explorer in SmartConsole.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Aug 2022 20:36:32 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/any-examples-of-show-sessions-with-filter-Console-API-mgt-cli-or/m-p/155241#M7063</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2022-08-18T20:36:32Z</dc:date>
    </item>
  </channel>
</rss>

