<?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 [Question] access Qlik Central Server log to get real-time concurrent user number? in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Question-access-Qlik-Central-Server-log-to-get-real-time/m-p/61289#M878</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin: 0 0 12pt; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: Arial, sans-serif;"&gt;I’m building a mashup page on our enterprise Qlik server. I need the concurrent user numbers as a gatekeeper to determine whether to disable or enable the hyperlink embedded on the mashup page. I was trying to send HTTP request to get the Qlik engine health information using javascript. This approach should allow me to get real-time concurrent user numbers.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0.5pt 0; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: Arial, sans-serif;"&gt;However, there are several servers configured. The one viewed by the end user is only a web proxy which does not have an engine. Only the central node hold the logs. As a result, I am not able to get the healthcheck results via direct URL because the request will hit the web server first and I cannot hit the central node.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0.5pt 0; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: Arial, sans-serif;"&gt;It seems the only feasible approach is to read the concurrent user number from operation monitor app. Could I get your advice on this matter? Is it not recommended and not feasible to pin the central node to get the real-time current user for our case?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0.5pt 0; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;Reference from Qlik help:&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin: 0.5pt 0; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A class="jive-link-external-small" href="https://urldefense.proofpoint.com/v2/url?u=https-3A__help.qlik.com_en-2DUS_sense-2Ddeveloper_April2018_Subsystems_EngineAPI_Content_GettingSystemInformation_HealthCheckStatus.htm&amp;amp;d=DwMFAg&amp;amp;c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&amp;amp;r=g6e21ovYVkaBsI-Guv2RbpgTMXfvDEqpbQiuZpu04TE&amp;amp;m=kj7W4uqA5Ia3TXabZ8_iTKavSaT5Nzm6YykvF9yd33w&amp;amp;s=hxM1Dz-AIghtJ0-vwsaLaUDZ0Z8T2F5xtYpibBYinB8&amp;amp;e=" rel="nofollow" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3778c7;" target="_blank"&gt;https://help.qlik.com/en-US/sense-developer/April2018/Subsystems/EngineAPI/Content/GettingSystemInformation/HealthCheckStatus.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0.5pt 0; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;Below is the java script used in my landing page:&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0.5pt 0; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;function gatekeeper_httpGet(){&lt;/P&gt;&lt;P style="margin: 0.5pt 0; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;var xmlHttp = new XMLHttpRequest();&lt;/P&gt;&lt;OL style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; list-style-type: lower-alpha; color: #3d3d3d;"&gt;&lt;LI&gt;xmlHttp.open("GET",'&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; background: yellow;"&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/discussion/http:" rel="nofollow" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3778c7;" target="_blank"&gt;http://&lt;/A&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;server.domain.com&lt;/STRONG&gt;/engine/healthcheck/&lt;/SPAN&gt;',false);&lt;/LI&gt;&lt;LI&gt;console.log(xmlHttp.responseText);&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN style="margin: 0.5pt 0; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;var healthcheck = JSON.parse(xmlHttp.responseText);&lt;/SPAN&gt;&lt;/P&gt;&lt;OL style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; list-style-type: lower-alpha; color: #3d3d3d;"&gt;&lt;LI&gt;console.log(healthcheck.users.active);&lt;/LI&gt;&lt;/OL&gt;&lt;P style="margin: 0.5pt 0; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Jun 2018 01:19:01 GMT</pubDate>
    <dc:creator>kai_kathy_shen</dc:creator>
    <dc:date>2018-06-06T01:19:01Z</dc:date>
    <item>
      <title>[Question] access Qlik Central Server log to get real-time concurrent user number?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Question-access-Qlik-Central-Server-log-to-get-real-time/m-p/61289#M878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin: 0 0 12pt; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: Arial, sans-serif;"&gt;I’m building a mashup page on our enterprise Qlik server. I need the concurrent user numbers as a gatekeeper to determine whether to disable or enable the hyperlink embedded on the mashup page. I was trying to send HTTP request to get the Qlik engine health information using javascript. This approach should allow me to get real-time concurrent user numbers.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0.5pt 0; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: Arial, sans-serif;"&gt;However, there are several servers configured. The one viewed by the end user is only a web proxy which does not have an engine. Only the central node hold the logs. As a result, I am not able to get the healthcheck results via direct URL because the request will hit the web server first and I cannot hit the central node.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0.5pt 0; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: Arial, sans-serif;"&gt;It seems the only feasible approach is to read the concurrent user number from operation monitor app. Could I get your advice on this matter? Is it not recommended and not feasible to pin the central node to get the real-time current user for our case?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0.5pt 0; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;Reference from Qlik help:&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin: 0.5pt 0; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A class="jive-link-external-small" href="https://urldefense.proofpoint.com/v2/url?u=https-3A__help.qlik.com_en-2DUS_sense-2Ddeveloper_April2018_Subsystems_EngineAPI_Content_GettingSystemInformation_HealthCheckStatus.htm&amp;amp;d=DwMFAg&amp;amp;c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&amp;amp;r=g6e21ovYVkaBsI-Guv2RbpgTMXfvDEqpbQiuZpu04TE&amp;amp;m=kj7W4uqA5Ia3TXabZ8_iTKavSaT5Nzm6YykvF9yd33w&amp;amp;s=hxM1Dz-AIghtJ0-vwsaLaUDZ0Z8T2F5xtYpibBYinB8&amp;amp;e=" rel="nofollow" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3778c7;" target="_blank"&gt;https://help.qlik.com/en-US/sense-developer/April2018/Subsystems/EngineAPI/Content/GettingSystemInformation/HealthCheckStatus.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0.5pt 0; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;Below is the java script used in my landing page:&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0.5pt 0; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;function gatekeeper_httpGet(){&lt;/P&gt;&lt;P style="margin: 0.5pt 0; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;var xmlHttp = new XMLHttpRequest();&lt;/P&gt;&lt;OL style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; list-style-type: lower-alpha; color: #3d3d3d;"&gt;&lt;LI&gt;xmlHttp.open("GET",'&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; background: yellow;"&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/discussion/http:" rel="nofollow" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3778c7;" target="_blank"&gt;http://&lt;/A&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;server.domain.com&lt;/STRONG&gt;/engine/healthcheck/&lt;/SPAN&gt;',false);&lt;/LI&gt;&lt;LI&gt;console.log(xmlHttp.responseText);&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN style="margin: 0.5pt 0; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;var healthcheck = JSON.parse(xmlHttp.responseText);&lt;/SPAN&gt;&lt;/P&gt;&lt;OL style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; list-style-type: lower-alpha; color: #3d3d3d;"&gt;&lt;LI&gt;console.log(healthcheck.users.active);&lt;/LI&gt;&lt;/OL&gt;&lt;P style="margin: 0.5pt 0; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2018 01:19:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Question-access-Qlik-Central-Server-log-to-get-real-time/m-p/61289#M878</guid>
      <dc:creator>kai_kathy_shen</dc:creator>
      <dc:date>2018-06-06T01:19:01Z</dc:date>
    </item>
  </channel>
</rss>

