Zscaler
Zscaler's Nanolog Streaming Service (NSS) is a family of products that enable Zscaler cloud communication with third-party security solution devices for exchanging event logs. You can either use Zscaler's Cloud NSS or deploy an on-prem NSS server to obtain the logs. Tenzir can receive Zscaler logs in either case.
Use a Cloud NSS Feed to send events to Tenzir
Configure Tenzir
First, spin up a Tenzir pipeline that mimics a Splunk HEC endpoint:
In the above example, the pipeline uses 0.0.0.0
to listen on all IP addresses
available.
Create a Cloud NSS Feed
Perform the following steps to create a Cloud NSS feed:
- Log in to your ZIA Admin Portal and go to Administration → Nanolog Streaming Service.
- Select the Cloud NSS Feeds tab.
- Click Add Cloud NSS Feed.
In the new dialog, configure the following options:
- Feed Name: Enter a name, e.g.,
Tenzir ZIA Logs
- NSS Type: NSS for Web
- Status: Enabled
- SIEM Rate: Unlimited
- SIEM Type: Other
- OAuth 2.0 Authentication: disabled
- Max Batch Size: 16 KB
- API URL: Enter the URL that identifies the Tenzir pipeline where the Splunk HEC endpoint is listening, e.g., https://1.2.3.4:8080/services/collector.
- HTTP Headers: Add your token from the Tenzir pipeline enable compression
with the following two headers.
Authorization
:YOUR_TOKEN
Content-Encoding
:gzip
- Feed Output Type: JSON
- JSON Array Notation: disabled
- Feed Escape Character:
,\"
After a web, firewall, or DNS feed has been configured, activate the changes as needed and test the feed. To test the connection:
- Go to Administration → Nanolog Streaming Service → Cloud NSS Feeds.
- Click the Cloud icon. This sends a test message to the Cribl receiver.
Use an NSS Feed to send events to Tenzir
The on-prem NSS server VM pulls logs from the Zscaler cloud and pushes them to Tenzir via Syslog over TCP. The NSS server also buffers logs if the TCP connection goes down.
Note that the forwarding TCP connection is unencrypted, as the assumption is that the NSS server is on premises next to the receiver.
Configure Tenzir
Spin up a Tenzir pipeline that accepts TCP connection and parses Syslog:
In the above example, the pipeline uses 0.0.0.0
to listen on all IP addresses
available.
Depending on how your NSS Feed is configured, you can futher dissect the opaque Syslog message into a structured record.
Create an NSS Feed
First, deploy an NSS server. Then log into ZIA using your administrator account:
- Go to Administration → Cloud Configuration → Nanolog Streaming Service.
- Verify that the NSS State is Healthy. Deploy a new NSS server by following the steps at NSS Deployment Guides.
- Click the NSS Feeds tab, and then click Add NSS Feed.
Follow the official documentation to add an NSS feed. You can add up to 16 NSS feeds per NSS server.
In the new dialog, configure the following options:
- Feed Name: Enter a name, e.g.,
Tenzir ZIA Logs
- NSS Server: Choose your server
- Status: Enabled
- SIEM Destination Type: FQDN
- SIEM IP Address: Enter the address of your Tenzir Node
- SIEM TCP Port: Enter the port of your pipeline
- SIEM Rate: Unlimited
- Feed Output Type: JSON
- Feed Escape Character:
,\"