Collect Saiwall VPN logs
This document explains how to ingest Saiwall VPN logs to Google Security Operations using the Bindplane agent.
Saiwall Secure SD-WAN, developed by SAIMA Systems, is an enterprise network security platform that combines firewall, proxy, VPN encryption, and LDAP services into a centralized management solution. The VPN component uses SSL VPN protocol over TCP with 2048-bit security certificates and AES 256-bit symmetric encryption, providing secure connectivity between remote sites and the central office across distributed enterprise environments.
Before you begin
Make sure you have the following prerequisites:
- A Google SecOps instance
- A Windows 2016 or later or Linux host with
systemd - If running behind a proxy, ensure firewall ports are open per the Bindplane agent requirements
- Privileged access to the Saiwall Secure SD-WAN management console (SAIWALL SD-WAN Orchestrator)
Get a Google SecOps ingestion authentication file
- Sign in to the Google SecOps console.
- Go to SIEM Settings > Collection Agents.
- Download the Ingestion Authentication File.
- Save the file securely on the system where Bindplane will be installed.
Get a Google SecOps customer ID
- Sign in to the Google SecOps console.
- Go to SIEM Settings > Profile.
- Copy and save the Customer ID from the Organization Details section.
Install the Bindplane agent
Install the Bindplane agent on your Windows or Linux operating system according to the following instructions.
Windows installation
- Open the Command Prompt or PowerShell as an administrator.
Run the following command:
msiexec /i "https://github.com/observIQ/bindplane-agent/releases/latest/download/observiq-otel-collector.msi" /quiet
Linux installation
- Open a terminal with root or sudo privileges.
Run the following command:
sudo sh -c "$(curl -fsSlL https://github.com/observiq/bindplane-agent/releases/latest/download/install_unix.sh)" install_unix.sh
Additional installation resources
For additional installation options, see the Bindplane agent installation guide.
Configure the Bindplane agent to ingest syslog and send to Google SecOps
Access the configuration file:
- Locate the
config.yamlfile. Typically, it's in the/opt/observiq-otel-collector/directory on Linux or in the installation directory on Windows. - Open the file using a text editor (for example,
nano,vi, or Notepad).
- Locate the
Edit the
config.yamlfile as follows:receivers: udplog: # Replace the port and IP address as required listen_address: "0.0.0.0:514" exporters: chronicle/chronicle_w_labels: compression: gzip # Adjust the path to the credentials file you downloaded in Step 1 creds_file_path: '/path/to/ingestion-authentication-file.json' # Replace with your actual customer ID from Step 2 customer_id: '<customer_id>' endpoint: malachiteingestion-pa.googleapis.com # Add optional ingestion labels for better organization log_type: 'SAIWALL_VPN' raw_log_field: body ingestion_labels: service: pipelines: logs/source0__chronicle_w_labels-0: receivers: - udplog exporters: - chronicle/chronicle_w_labels- Replace the port and IP address as required in your infrastructure.
- Replace
<customer_id>with the actual Customer ID. - Update
/path/to/ingestion-authentication-file.jsonto the file path where the authentication file was saved in Step 1.
Restart the Bindplane agent to apply the changes
To restart the Bindplane agent in Linux, run the following command:
sudo systemctl restart observiq-otel-collectorTo restart the Bindplane agent in Windows, you can either use the Services console or enter the following command:
net stop observiq-otel-collector && net start observiq-otel-collector
Configure Saiwall syslog forwarding
To configure the Saiwall Secure SD-WAN appliance to forward syslog messages to the Bindplane agent, follow these steps:
- Sign in to the SAIWALL SD-WAN Orchestrator web management console.
- Go to Configuration > System > Logging.
- In the Syslog section, click Enable to activate remote syslog forwarding.
- Provide the following configuration details:
- Syslog Server: Enter the IP address of the Bindplane agent host (for example,
192.168.1.100). - Port: Enter
514(or the port configured in the Bindplane agent). - Protocol: Select UDP.
- Facility: Select local0 or the appropriate facility for your environment.
- Syslog Server: Enter the IP address of the Bindplane agent host (for example,
- In the Log Categories section, enable the following log types for forwarding:
- VPN connection events (tunnel establishment and teardown)
- Firewall traffic events (allow and deny)
- Authentication events (user logins and logouts)
- System events (configuration changes and alerts)
- Click Save to apply the syslog configuration.
Click Synchronize to push the configuration to all connected SAIWALL SR devices.
For more information, see the SAIMA Systems documentation.
UDM mapping table
| Log Field | UDM Mapping | Logic |
|---|---|---|
egressInterface_label |
additional.fields |
Merged |
flowEndMilliseconds_label |
additional.fields |
Merged |
flowEndReason_label |
additional.fields |
Merged |
flowStartMilliseconds_label |
additional.fields |
Merged |
format_label |
additional.fields |
Merged |
header_map_label |
additional.fields |
Merged |
ingressInterface_label |
additional.fields |
Merged |
ipClassOfService_label |
additional.fields |
Merged |
ipNextHopIPv4Address_label |
additional.fields |
Merged |
octetDeltaCount_label |
additional.fields |
Merged |
packetDeltaCount_label |
additional.fields |
Merged |
protocolIdentifier_label |
additional.fields |
Merged |
tcpControlBits_label |
additional.fields |
Merged |
inter_host |
intermediary.hostname |
Directly mapped |
record.nexthop |
intermediary.ip |
Merged |
port |
intermediary.port |
Renamed/mapped |
event_type |
metadata.event_type |
Directly mapped |
record.input |
network.received_bytes |
Renamed/mapped |
record.output |
network.sent_bytes |
Renamed/mapped |
record.srcaddr |
principal.ip |
Merged |
sourceIPv4Address |
principal.ip |
Merged |
record.srcport |
principal.port |
Renamed/mapped |
sourceTransportPort |
principal.port |
Renamed/mapped |
destinationIPv4Address |
target.ip |
Merged |
record.dstaddr |
target.ip |
Merged |
destinationTransportPort |
target.port |
Renamed/mapped |
record.dstport |
target.port |
Renamed/mapped |
record_map_label |
target.resource.attribute.labels |
Merged |
Need more help? Get answers from Community members and Google SecOps professionals.