<?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: Qlik-CLI audit &amp;quot;com.qlik.user-session.begin&amp;quot; in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-CLI-audit-quot-com-qlik-user-session-begin-quot/m-p/2010855#M17675</link>
    <description>&lt;P&gt;I know that there have been some discussions around the next in the responses and if I remember correctly it's only exposed if you do a raw call.&lt;/P&gt;&lt;P&gt;However, you can use the --limit instead and that will make qlik-cli paginate internally and return the combined result.&lt;/P&gt;&lt;P&gt;This will work in most cases but you won't be able to know how many results there will be before you find the last match. Meaning you need to increase the limit until you get fewer results than the limit and think there's also a max limit&lt;BR /&gt;&lt;BR /&gt;And if you are fetching 1000s of "records" maybe you should add a filter to the search to narrow down the number of records returned anyway.&lt;BR /&gt;&lt;BR /&gt;Or is there a use case to extract all records?&lt;/P&gt;</description>
    <pubDate>Wed, 30 Nov 2022 10:58:45 GMT</pubDate>
    <dc:creator>hakana</dc:creator>
    <dc:date>2022-11-30T10:58:45Z</dc:date>
    <item>
      <title>Qlik-CLI audit "com.qlik.user-session.begin"</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-CLI-audit-quot-com-qlik-user-session-begin-quot/m-p/1752604#M13372</link>
      <description>&lt;P&gt;Hello experts,&lt;/P&gt;&lt;P&gt;I want to download the log events related with the type "com.qlik.user-session.begin". We want to create an app to show when has an user logged in to Qlik SaaS.&lt;/P&gt;&lt;P&gt;I have tried all the Qlik-CLI commands, on the "qlik audit" options, without result.&lt;/P&gt;&lt;P&gt;¿how can I get all the log entries using Qlik-CLI?&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 01:17:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-CLI-audit-quot-com-qlik-user-session-begin-quot/m-p/1752604#M13372</guid>
      <dc:creator>julian_rodriguez</dc:creator>
      <dc:date>2024-11-16T01:17:45Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik-CLI audit "com.qlik.user-session.begin"</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-CLI-audit-quot-com-qlik-user-session-begin-quot/m-p/1752649#M13373</link>
      <description>&lt;P&gt;You can retrieve the latest with:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;qlik audit ls --eventType com.qlik.user-session.begin&lt;/LI-CODE&gt;&lt;P&gt;If you want to get all the events (say per day), you need to "script" with the flags:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;--eventTime string The time interval formatted in ISO 8601 to search by eventTime.&lt;/LI&gt;&lt;LI&gt;--limit string The maximum number of resources to return for a request. The limit must be an integer between 1 and 100 (inclusive).&lt;/LI&gt;&lt;LI&gt;--next string The cursor to the next page of resources. Provide either the next or prev cursor, but not both.&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Thu, 15 Oct 2020 06:03:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-CLI-audit-quot-com-qlik-user-session-begin-quot/m-p/1752649#M13373</guid>
      <dc:creator>han</dc:creator>
      <dc:date>2020-10-15T06:03:36Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik-CLI audit "com.qlik.user-session.begin"</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-CLI-audit-quot-com-qlik-user-session-begin-quot/m-p/1752799#M13375</link>
      <description>&lt;P&gt;Hello Han,&lt;/P&gt;&lt;P&gt;Thanks, you have helped me. However, I can't get the --eventTime format.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried with&amp;nbsp;&lt;STRONG&gt;qlik audit ls --eventTime 2020-10-15T12:38:25+0000&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;But Qlik-CLI says:&lt;/P&gt;&lt;P&gt;400 Bad Request&lt;BR /&gt;{&lt;BR /&gt;"error": "time interval must be ISO 8601 formatted"&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;¿Could you provide me an example with a date, please?&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Thu, 15 Oct 2020 12:42:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-CLI-audit-quot-com-qlik-user-session-begin-quot/m-p/1752799#M13375</guid>
      <dc:creator>julian_rodriguez</dc:creator>
      <dc:date>2020-10-15T12:42:17Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik-CLI audit "com.qlik.user-session.begin"</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-CLI-audit-quot-com-qlik-user-session-begin-quot/m-p/1752808#M13376</link>
      <description>&lt;P&gt;As stated the --eventTime should be a interval&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;qlik audit ls --eventType com.qlik.user-session.begin  --eventTime 2020-10-01T00:00:00Z/2020-10-01T12:00:00Z&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 15 Oct 2020 12:53:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-CLI-audit-quot-com-qlik-user-session-begin-quot/m-p/1752808#M13376</guid>
      <dc:creator>han</dc:creator>
      <dc:date>2020-10-15T12:53:18Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik-CLI audit "com.qlik.user-session.begin"</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-CLI-audit-quot-com-qlik-user-session-begin-quot/m-p/1752817#M13377</link>
      <description>&lt;P&gt;Perfect Han, thank you so much. Last question: where can I find all the documentation about Qlik-CLI?, I just found this site:&amp;nbsp;&lt;A href="https://qlik.dev/tutorials/get-started-with-qlik-cli" target="_blank"&gt;https://qlik.dev/tutorials/get-started-with-qlik-cli&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Oct 2020 12:59:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-CLI-audit-quot-com-qlik-user-session-begin-quot/m-p/1752817#M13377</guid>
      <dc:creator>julian_rodriguez</dc:creator>
      <dc:date>2020-10-15T12:59:07Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik-CLI audit "com.qlik.user-session.begin"</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-CLI-audit-quot-com-qlik-user-session-begin-quot/m-p/1752819#M13378</link>
      <description>&lt;P&gt;All documentation is "inline" using --help&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;qlik audit ls --help
Finds and returns the persisted audit events for the given tenant.

Usage:
  qlik audit ls [flags]

Flags:
      --eventTime string   The time interval formatted in ISO 8601 to search by eventTime.
      --eventType string   The case-sensitive string used to search by eventType.
  -h, --help               help for ls
      --id string          The list of audit unique identifiers.
      --interval int       Duration in seconds to wait between retries, at least 1 (default 1)
      --limit string       The maximum number of resources to return for a request. The limit must be an integer between 1 and 100 (inclusive).
      --next string        The cursor to the next page of resources. Provide either the next or prev cursor, but not both.
      --prev string        The cursor to the previous page of resources. Provide either the next or prev cursor, but not both.
  -q, --quiet              Return only ids from the command
      --raw                Return original response from server without any processing
      --retry int          Number of retries to do before failing, max 10
      --sort string        The property of a resource to sort on (default sort is +eventTime). The supported properties are source, eventType, and eventTime. A property must be prefixed by + or - to indicate ascending or descending sort order respectively.
      --source string      The case-sensitive string used to search by source.
      --userId string      The case-sensitive string used to search by userId.

Global Flags:
  -c, --config string            path/to/config.yml where parameters can be set instead of on the command line
      --context string           Name of the context used when connecting to Qlik Associative Engine
      --headers stringToString   Http headers to use when connecting to Qlik Associative Engine (default [])
      --insecure                 Enabling insecure will make it possible to connect using self signed certificates
      --json                     Returns output in JSON format if possible, disables verbose and traffic output
  -s, --server string            URL to a Qlik Product, a local engine, cluster or sense-enterprise
  -v, --verbose                  Log extra information&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 15 Oct 2020 13:04:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-CLI-audit-quot-com-qlik-user-session-begin-quot/m-p/1752819#M13378</guid>
      <dc:creator>han</dc:creator>
      <dc:date>2020-10-15T13:04:09Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik-CLI audit "com.qlik.user-session.begin"</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-CLI-audit-quot-com-qlik-user-session-begin-quot/m-p/2010624#M17674</link>
      <description>&lt;P&gt;Hi guys, can you provide an example of --next use in audit extractions?&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;EP&lt;/P&gt;</description>
      <pubDate>Tue, 29 Nov 2022 21:26:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-CLI-audit-quot-com-qlik-user-session-begin-quot/m-p/2010624#M17674</guid>
      <dc:creator>edoardopassa</dc:creator>
      <dc:date>2022-11-29T21:26:25Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik-CLI audit "com.qlik.user-session.begin"</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-CLI-audit-quot-com-qlik-user-session-begin-quot/m-p/2010855#M17675</link>
      <description>&lt;P&gt;I know that there have been some discussions around the next in the responses and if I remember correctly it's only exposed if you do a raw call.&lt;/P&gt;&lt;P&gt;However, you can use the --limit instead and that will make qlik-cli paginate internally and return the combined result.&lt;/P&gt;&lt;P&gt;This will work in most cases but you won't be able to know how many results there will be before you find the last match. Meaning you need to increase the limit until you get fewer results than the limit and think there's also a max limit&lt;BR /&gt;&lt;BR /&gt;And if you are fetching 1000s of "records" maybe you should add a filter to the search to narrow down the number of records returned anyway.&lt;BR /&gt;&lt;BR /&gt;Or is there a use case to extract all records?&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2022 10:58:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-CLI-audit-quot-com-qlik-user-session-begin-quot/m-p/2010855#M17675</guid>
      <dc:creator>hakana</dc:creator>
      <dc:date>2022-11-30T10:58:45Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik-CLI audit "com.qlik.user-session.begin"</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-CLI-audit-quot-com-qlik-user-session-begin-quot/m-p/2010878#M17676</link>
      <description>&lt;P&gt;Thanks for your reply! We need to extra audit log without limits. I think that the "--next" command could be used to switch to the following page but a can't understand what string qlik-cli expects after --next &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; &lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2022 11:34:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-CLI-audit-quot-com-qlik-user-session-begin-quot/m-p/2010878#M17676</guid>
      <dc:creator>edoardopassa</dc:creator>
      <dc:date>2022-11-30T11:34:36Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik-CLI audit "com.qlik.user-session.begin"</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-CLI-audit-quot-com-qlik-user-session-begin-quot/m-p/2010885#M17677</link>
      <description>&lt;P&gt;If you use &lt;FONT color="#800000"&gt;&lt;EM&gt;&lt;STRONG&gt;qlik audit ls --eventType com.qlik.user-session.begin --raw&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt; there will be a links object in the response that has a Href with the next result&lt;BR /&gt;&lt;BR /&gt;It's the next query param you need to provide to the --next&lt;/P&gt;&lt;P&gt;Are there any specific events you are interested in or do you want to extract them all?&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2022 11:50:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-CLI-audit-quot-com-qlik-user-session-begin-quot/m-p/2010885#M17677</guid>
      <dc:creator>hakana</dc:creator>
      <dc:date>2022-11-30T11:50:12Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik-CLI audit "com.qlik.user-session.begin"</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-CLI-audit-quot-com-qlik-user-session-begin-quot/m-p/2010887#M17678</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Yep, we're trying to extra all users events (for examle: &lt;/SPAN&gt;&lt;SPAN&gt;com.qlik.user-session.begin)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Can you share an example of --next queries?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2022 11:56:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-CLI-audit-quot-com-qlik-user-session-begin-quot/m-p/2010887#M17678</guid>
      <dc:creator>edoardopassa</dc:creator>
      <dc:date>2022-11-30T11:56:51Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik-CLI audit "com.qlik.user-session.begin"</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-CLI-audit-quot-com-qlik-user-session-begin-quot/m-p/2010979#M17679</link>
      <description>&lt;P&gt;We're trying to extract all audit log to integrate them into Splunk (we can't use Qlik Automation connector :/).&lt;/P&gt;
&lt;P&gt;Can you share an example of the --next parameter? in Next (in Href) we have:&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;A href="https://xxxxxxxxxxxxxxxxx.eu.qlikcloud.com/api/v1/audits?eventType=com.qlik.user-session.begin&amp;amp;limit=10&amp;amp;next=KQAAAAlldmVudFRpbWUAAyyoyIQBAAAHX2lkAGOHVg8W7ojos5mPJQA" target="_blank" rel="noopener"&gt;https://xxxxxxxxxxxxxxxxx.eu.qlikcloud.com/api/v1/audits?eventType=com.qlik.user-session.begin&amp;amp;limit=10&amp;amp;next=KQAAAAlldmVudFRpbWUAAyyoyIQBAAAHX2lkAGOHVg8W7ojos5mPJQA&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2022 14:08:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-CLI-audit-quot-com-qlik-user-session-begin-quot/m-p/2010979#M17679</guid>
      <dc:creator>edoardopassa</dc:creator>
      <dc:date>2022-11-30T14:08:02Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik-CLI audit "com.qlik.user-session.begin"</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-CLI-audit-quot-com-qlik-user-session-begin-quot/m-p/2011174#M17682</link>
      <description>&lt;P&gt;Resolved&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2022 21:20:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-CLI-audit-quot-com-qlik-user-session-begin-quot/m-p/2011174#M17682</guid>
      <dc:creator>edoardopassa</dc:creator>
      <dc:date>2022-11-30T21:20:39Z</dc:date>
    </item>
  </channel>
</rss>

