Collect Brocade switch logs
This document explains how to ingest Brocade switch logs to Google Security Operations using the Bindplane agent.
Brocade switches (Fibre Channel SAN switches) generate syslog messages for fabric events, zone changes, login/logout activity, and system events. The parser normalizes fields and maps them to the Unified Data Model (UDM).
Before you begin
Make sure you have the following prerequisites:
- A Google SecOps instance
- Windows Server 2016 or later, or Linux host with
systemd - Network connectivity between the Bindplane agent and the Brocade switch
- If running behind a proxy, ensure firewall ports are open per the Bindplane agent requirements
- Administrative access to the Brocade switch using SSH or Telnet
Get 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 the Bindplane agent will be installed.
Get 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 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" /quietWait for the installation to complete.
Verify the installation by running:
sc query observiq-otel-collectorThe service should show as RUNNING.
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.shWait for the installation to complete.
Verify the installation by running:
sudo systemctl status observiq-otel-collectorThe service should show as active (running).
Additional installation resources
For additional installation options and troubleshooting, see Bindplane agent installation guide.
Configure the Bindplane agent to ingest syslog and send to Google SecOps
Locate the configuration file
Linux:
sudo nano /etc/bindplane-agent/config.yamlWindows:
notepad "C:\Program Files\observIQ OpenTelemetry Collector\config.yaml"
Edit the configuration file
Replace the entire contents of
config.yamlwith the following configuration:receivers: udplog: listen_address: "0.0.0.0:514" exporters: chronicle/brocade_switch: compression: gzip creds_file_path: '/etc/bindplane-agent/ingestion-auth.json' customer_id: '<customer_id>' endpoint: malachiteingestion-pa.googleapis.com log_type: BROCADE_SWITCH raw_log_field: body service: pipelines: logs/brocade_switch_to_chronicle: receivers: - udplog exporters: - chronicle/brocade_switch
Configuration parameters
Replace the following placeholders:
Receiver configuration:
listen_address: IP address and port to listen on:0.0.0.0to listen on all interfaces (recommended)- Port
514is the standard syslog port (requires root on Linux; use1514for non-root)
Exporter configuration:
creds_file_path: Full path to ingestion authentication file:- Linux:
/etc/bindplane-agent/ingestion-auth.json - Windows:
C:\Program Files\observIQ OpenTelemetry Collector\ingestion-auth.json
- Linux:
customer_id: Customer ID copied from the Google SecOps consoleendpoint: Regional endpoint URL:- US:
malachiteingestion-pa.googleapis.com - Europe:
europe-malachiteingestion-pa.googleapis.com - Asia:
asia-southeast1-malachiteingestion-pa.googleapis.com - See Regional Endpoints for complete list
- US:
Save the configuration file
- After editing, save the file:
- Linux: Press
Ctrl+O, thenEnter, thenCtrl+X - Windows: Click File > Save
- Linux: Press
Restart the Bindplane agent to apply the changes
To restart the Bindplane agent in Linux, run the following command:
sudo systemctl restart observiq-otel-collectorVerify the service is running:
```bash sudo systemctl status observiq-otel-collector ```Check logs for errors:
```bash sudo journalctl -u observiq-otel-collector -f ```
To restart the Bindplane agent in Windows, choose one of the following options:
Command Prompt or PowerShell as administrator:
net stop observiq-otel-collector && net start observiq-otel-collectorServices console:
- Press
Win+R, typeservices.msc, and press Enter. - Locate observIQ OpenTelemetry Collector.
- Right-click and select Restart.
Verify the service is running:
sc query observiq-otel-collectorCheck logs for errors:
type "C:\Program Files\observIQ OpenTelemetry Collector\log\collector.log"
- Press
Configure syslog export from a Brocade switch
- Connect to the Brocade switch using SSH or Telnet with the appropriate credentials.
Run the following command to specify the IP address and Port of the syslog server (Bindplane):
syslogadmin --set -ip <BINDPLANE_IP> -port 514Run the following command to display the configured syslog servers:
syslogadmin --show -ip
UDM mapping table
| Log Field | UDM Mapping | Logic |
|---|---|---|
application |
additional.fields[].key: "application"additional.fields[].value.string_value: |
Value extracted from the application@1588 field in the raw log when the KV_DATA field exists. |
class |
additional.fields[].key: "class"additional.fields[].value.string_value: |
Value extracted from the class@1588 field in the raw log when the KV_DATA field exists. |
domain |
principal.administrative_domain |
Value extracted from the grok pattern matching the domain field. |
Event |
additional.fields[].key: "event_category"additional.fields[].value.string_value: |
Value extracted from the arg0@1588 field in the raw log when the KV_DATA field exists. |
event_id |
metadata.product_log_id |
Value extracted from the grok pattern matching the event_id field. |
event_type |
metadata.product_event_type |
Value extracted from the grok pattern matching the event_type field. |
flags |
additional.fields[].key: "flags"additional.fields[].value.string_value: |
Value extracted from the grok pattern matching the flags field. |
Info |
metadata.description |
Value extracted from the Info field, parsed using grok. |
interface |
app_protocol_src |
Value extracted from the interface@1588 field in the raw log when the KV_DATA field exists. Used to derive network.application_protocol. |
ip |
principal.ip |
Value extracted from the ip field, parsed using grok. Merged into principal.ip if it's not the same as the IP extracted from the Info field. |
Info, IP Addr |
principal.ip |
Value extracted from the IP Addr field within the Info field, parsed using grok. |
log |
additional.fields[].key: "log"additional.fields[].value.string_value: |
Value extracted from the log@1588 field in the raw log when the KV_DATA field exists. |
msg |
metadata.description |
Value extracted from the msg field, parsed using grok. |
msgid |
additional.fields[].key: "msgid"additional.fields[].value.string_value: |
Value extracted from the msgid@1588 field in the raw log when the KV_DATA field exists. |
prin_host |
principal.hostnameprincipal.asset.hostname |
Value extracted from the grok pattern matching the prin_host field. |
product_version |
metadata.product_version |
Value extracted from the grok pattern matching the product_version field. |
repeat_count |
additional.fields[].key: "repeat_count"additional.fields[].value.string_value: |
Value extracted from the msg field, parsed using grok. |
role, user_role |
principal.user.attribute.roles[].name |
Value extracted from the role@1588 or user_role field. If the value is "admin", it's replaced with "Admin". |
sequence_number |
additional.fields[].key: "sequence_number"additional.fields[].value.string_value: |
Value extracted from the grok pattern matching the sequence_number field. |
severity |
security_result.severity |
Value extracted from the severity field, parsed using grok. Mapped to UDM severity values (INFORMATIONAL, ERROR, CRITICAL, MEDIUM). |
Status |
security_result.summary |
Value extracted from the Status field. |
switch_name |
additional.fields[].key: "switch_name"additional.fields[].value.string_value: |
Value extracted from the grok pattern matching the switch_name field. |
target_application |
target.application |
Value extracted from the grok pattern matching the target_application field. |
time |
additional.fields[].key: "time"additional.fields[].value.string_value: |
Value extracted from the time field within the kv_data3 field. |
timestamp |
metadata.event_timestamp.seconds |
Value extracted from the timestamp field, parsed using the date filter. |
user |
principal.user.useridprincipal.user.user_display_name |
Value extracted from the user or user@1588 field, parsed using grok. Copied from principal.hostname. Copied from principal.ip. Copied from metadata.product_event_type or set to "STATUS_UPDATE" based on conditions. Copied from the log's create_time.nanos. Determined by parser logic based on the values of has_principal, has_target, has_userid, and event_type. Can be "SYSTEM_AUDIT_LOG_UNCATEGORIZED", "STATUS_UPDATE", or "GENERIC_EVENT". Hardcoded to "BROCADE_SWITCH". Hardcoded to "BROCADE". Hardcoded to "BROCADE_SWITCH". Derived from the interface field or set to "SSH" if the interface field contains "SSH". |
Need more help? Get answers from Community members and Google SecOps professionals.