In this article, you'll learn how to integrate Zscaler Web Proxy with Real-Time Coaching. Once you set up this integration, data from Zscaler will be available in the Coaching tab of your KnowBe4 Security Awareness Training (SAT) console. This data can be viewed in Real-Time Coaching reports and used to create detection rules for Real-Time Coaching categories. For general information about Real-Time Coaching, see our overview article.
Set Up the Integration in Real-Time Coaching
Before you can set up this integration in your Zscaler console, you must authorize the configuration and copy your organization key from the Coaching tab of your KnowBe4 SAT console. If you are using a Cloud Nanolog Streaming Service (NSS) Zscaler server for the integration, you'll also need to copy your API key.
To locate and copy your organization key and API key, follow the steps below:
- Log in to your KnowBe4 SAT console.
- Navigate to Coaching > Setup > Security Vendor Integrations.
- Locate the Zscaler vendor tile and select Configure.
- From the Select Zscaler Server drop-down menu, select your server.
- Select Authorize.
- In the modal that opens, select OK.
-
Copy and save your Organization Key. If you selected Zscaler Cloud NSS in step 4 above, also copy and save your API Gateway Key.
Note: These keys are needed to set up the integration in Zscaler.
Set Up the Integration in Zscaler
Once you've copied the needed keys from Real-Time Coaching, you can set up the Nanolog Streaming Service (NSS) or Cloud NSS integration in your Zscaler console by following the subsections below.
Set Up the Nanolog Streaming Service (NSS) Integration in Your Zscaler Console
Once you've copied your organization key, you can set up the NSS integration in your Zscaler console by following the steps below:
- Log in to your Zscaler Admin Portal.
- Navigate to Administration > Nanolog Streaming Service.
-
Select the pencil icon to update the NSS feed.
- On the Edit NSS Feed page, edit the fields using the screenshot and list below:

- SIEM Destination Type: Select FQDN.
-
SIEM FQDN: Enter the fully-qualified domain name (FQDN) for your KnowBe4 instance into the field. To find the FQDN for your KnowBe4 instance, see the table below:
KnowBe4 Instance FQDN United States syslog.training.knowbe4.com European Union syslog.eu.knowbe4.com Canada syslog.ca.knowbe4.com United Kingdom syslog.uk.knowbe4.com Germany syslog.de.knowbe4.com - SIEM TCP Port: Update the field value to "5000".
- Feed Output Type: Select Custom.
-
Feed Output Format: Copy and paste the code block below into this field. Then, replace [x] with your organization key:
Note:When pasting the code block, ensure the text is one single line. Besides adding your organization key, do not make any other changes to the code block.zscaler-nss CEF:0|Zscaler|NSS|4.1|NULL|NULL|NULL|org_key=[x]\tvendor_code_name=zscaler\tlog_type=web\tcat=%s{action}\tdevTime=%s{mon} %02d{dd} %d{yy} %02d{hh}:%02d{mm}:%02d{ss} %s{tz}\tdevTimeFormat=MMM dd yyyy HH:mm:ssz\tsourceAddress=%s{cip}\tdst=%s{sip}\trealm=%s{location}\tusrName=%s{login}\tsrcBytes=%d{reqsize}\tpolicy=%s{reason}\trecordid=%d{recordid}\thostname=%s{ehost}\tappproto=%s{proto}\turlcategory=%s{urlcat}\tappclass=%s{appclass}\tappname=%s{appname}\tmalwareclass=%s{malwareclass}\tthreatname=%s{threatname}\tdlpdict=%s{dlpdict}\tdlpeng=%s{dlpeng}\tfiletype=%s{filetype}\turl=%s{eurl}\tdevicehostname=%s{devicehostname}\n - User Obfuscation: Select Disabled.
- Timezone: Select GMT from the drop-down menu.
- Duplicate Logs: Select Disabled from the drop-down menu.
- Policy Action: Select Blocked from the drop-down menu.
- Policy Reason: Select Any from the drop-down menu.
- Select Save.
-
Next, locate your public IP address for your NSS VM by logging into it and running the following command:
[zsroot@NSS ~]$ curl ipinfo.io/ip
- Copy the IP address that is generated.
-
Submit a support ticket Submit a support ticket (link opens in new window) to KnowBe4 that includes your NSS VM IP Address. A member of our support team will whitelist your IP address and ensure that Zscaler has been successfully integrated.
Important:If your NSS VM IP address ever changes, reach out to support again so they can whitelist your new IP address.
Set Up the Cloud Nanolog Streaming Service (NSS) Integration in Your Zscaler Console
Once you've copied your organization key and API key, you can set up the Cloud NSS integration in your Zscaler console. To set up the Cloud NSS integration in your Zscaler console, follow the steps below:
- Log in to your Zscaler Admin Portal.
- Navigate to Administration > Nanolog Streaming Service.
- Select the pencil icon to update the Cloud NSS feed.
- On the Edit Cloud NSS Feed page, edit the fields using the screenshot and list below:

- SIEM Type: Select Other.
-
API URL: Enter the URL for your KnowBe4 instance into the field. To find the URL for your KnowBe4 instance, see the table below:
KnowBe4 Instance URL United States https://syslog-webhook.training.knowbe4.com/v1/syslog European Union https://syslog-webhook.eu.knowbe4.com/v1/syslog Canada https://syslog-webhook.ca.knowbe4.com/v1/syslog United Kingdom https://syslog-webhook.uk.knowbe4.com/v1/syslog Germany https://syslog-webhook.de.knowbe4.com/v1/syslog - Key1: Enter "x-api-key" into the field.
- Value1: Enter your API key into the field.
- Feed Output Type: Select JSON.
-
Feed Output Format: Copy and paste the code block below into this field. Then, replace [x] with your organization key:
Note:When pasting the code block, ensure the text is one single line. Besides adding your organization key, do not make any other changes to the code block.\{"sourcetype": "zscalernss-web","org_key":"[x]","vendor_code_name":"zscaler","log_type":"web","cat":"%s{action}","devTime":"%s{mon} %02d{dd} %d{yy} %02d{hh}:%02d{mm}:%02d{ss} %s{tz}","devTimeFormat":"MMM dd yyyy HH:mm:ssz","policy":"%s{reason}","recordid":"%d{recordid}","malwareclass":"%s{malwareclass}","urlcategory":"%s{urlcat}","realm":"%s{location}","sourceAddress":"%s{cip}","srcBytes":"%d{reqsize}","usrName":"%s{login}","url":"%s{eurl}","hostname":"%s{ehost}","appproto":"%s{proto}","threatname":"%s{threatname}","filetype":"%s{filetype}","appclass":"%s{appclass}","appname":"%s{appname}","dlpeng":"%s{dlpeng}","dlpdict":"%s{dlpdict}","devicehostname":"%s{devicehostname}"\} - Timezone: Select GMT from the drop-down menu.
- Policy Action: Select Blocked from the drop-down menu.
- Policy Reason: Select Any from the drop-down menu.
- Select Save.
Map Your Users
After you've finished integrating Zscaler, you can map your users either through mapping rules (recommended) or through a CSV file upload. For more information about user mapping, see our user mapping article.
Manage Detection Rules
Once you've successfully authorized this integration, you can also manage Zscaler detection rules from Coaching > Detection Rules. For a full list of available system detection rules for this vendor, see our System Detection Rules by Vendor article.
Delete the Integration in Zscaler
For more information on deleting your Zscaler integration, see the subsections below.
Delete the Nanolog Streaming Service (NSS) Integration
To delete the NSS integration in your Zscaler console, follow the steps below:
- Log in to your Zscaler Admin Portal.
- Navigate to Administration > Nanolog Streaming Service.
- Select NSS Feeds.
-
Locate the fully-qualified domain name (FQDN) you want to remove. To find the FQDN for your KnowBe4 instance, see the table below:
KnowBe4 Instance FQDN United States syslog.training.knowbe4.com European Union syslog.eu.knowbe4.com Canada syslog.ca.knowbe4.com United Kingdom syslog.uk.knowbe4.com Germany syslog.de.knowbe4.com -
Select the pencil icon.
- Select Delete, then select Confirm.
Delete the Cloud Nanolog Streaming Service (NSS) Integration
To delete the Cloud NSS integration in your Zscaler console, follow the steps below:
- Log in to your Zscaler Admin Portal.
- Navigate to Administration > Nanolog Streaming Service.
- Select the Cloud NSS Feeds subtab.
-
Locate the fully-qualified domain name (FQDN) you want to remove. To find the FQDN for your KnowBe4 instance, see the table below:
KnowBe4 Instance FQDN United States syslog.training.knowbe4.com European Union syslog.eu.knowbe4.com Canada syslog.ca.knowbe4.com United Kingdom syslog.uk.knowbe4.com Germany syslog.de.knowbe4.com -
Select the pencil icon.
- Select Delete, then select Confirm.

