Collect Cisco switch logs

Parser Version: 27.0

Supported in:

This document explains how to ingest Cisco switch logs to Google Security Operations using the Bindplane agent.

Cisco switches generate syslog messages for port state changes, spanning tree events, ACL matches, authentication, and system operations. The parser extracts fields using grok patterns 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 Cisco switch
  • If running behind a proxy, ensure firewall ports are open per the Bindplane agent requirements
  • Privileged access to the Cisco switch CLI

Get Google SecOps credentials for the Bindplane agent

To authenticate the Bindplane agent to Google SecOps, choose one of the following methods:

  • New deployments: Use the Chronicle API (Option 1).
  • Legacy deployments: Continue using the ingestion authentication file (Option 2) until the Ingestion API is discontinued on July 20, 2027.
  1. Sign in to the Google Cloud console and select the Google Cloud project that is linked to your Google SecOps instance.
  2. Go to IAM & Admin > Service Accounts.
  3. Click Create service account.
  4. Provide the following configuration details:
    • Service account name: Enter a name for the account (for example, bindplane-ingest).
    • Service account description: Enter a description (for example, Bindplane agent log ingestion).
  5. Click Create and continue.
  6. In the Grant this service account access to project section, click Select a role and select Chronicle Editor.
  7. Click Continue, and then click Done.
  8. Click the service account you created, and then go to the Keys tab.
  9. Click Add key > Create new key.
  10. Select JSON and click Create. The key file is downloaded to your computer.
  11. Save the key file as ingestion-auth.json in the Bindplane collector directory (/opt/observiq-otel-collector/ingestion-auth.json on Linux or C:\Program Files\observIQ OpenTelemetry Collector\ingestion-auth.json on Windows), or update creds_file_path in config.yaml to match the path where you save it.
  12. Go to IAM & Admin > Settings and copy the Project number. You'll need it for the exporter configuration.

Option 2: Download the ingestion authentication file (legacy)

  1. Sign in to the Google SecOps console.
  2. Go to Settings > Data Management > Collection Agents. If you are on a SIEM-only platform, go to Settings > Collection Agents.
  3. Download the ingestion authentication file.
  4. Save the file securely on the system where the Bindplane agent will be installed.

Get Google SecOps customer ID

  1. Sign in to the Google SecOps console.
  2. Go to Settings > Administration > Profile. If you are on a SIEM-only platform, go to Settings > Profile.
  3. 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

  1. Open Command Prompt or PowerShell as an administrator.
  2. Run the following command:

    msiexec /i "https://github.com/observIQ/bindplane-agent/releases/latest/download/observiq-otel-collector.msi" /quiet
    
  3. Wait for the installation to complete.

  4. Verify the installation by running:

    sc query observiq-otel-collector
    

    The service should show as RUNNING.

Linux installation

  1. Open a terminal with root or sudo privileges.
  2. Run the following command:

    sudo sh -c "$(curl -fsSlL https://github.com/observiq/bindplane-agent/releases/latest/download/install_unix.sh)" install_unix.sh
    
  3. Wait for the installation to complete.

  4. Verify the installation by running:

    sudo systemctl status observiq-otel-collector
    

    The 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 /opt/observiq-otel-collector/config.yaml
    
  • Windows:

    notepad "C:\Program Files\observIQ OpenTelemetry Collector\config.yaml"
    

Edit the configuration file

  • Replace the entire contents of config.yaml with the following configuration:

    receivers:
      udplog:
        listen_address: "0.0.0.0:514"
    
    exporters:
      chronicle/cisco_switch:
        protocol: https
        # Region of your instance, for example us, europe, asia-southeast1
        location: <LOCATION>
        # Project number of the Google Cloud project linked to the instance
        project: '<PROJECT_NUMBER>'
        compression: gzip
        creds_file_path: '/opt/observiq-otel-collector/ingestion-auth.json'
        customer_id: '<customer_id>'
        endpoint: chronicle.googleapis.com
        log_type: CISCO_SWITCH
        raw_log_field: body
    
    service:
      pipelines:
        logs/cisco_switch_to_chronicle:
          receivers:
            - udplog
          exporters:
            - chronicle/cisco_switch
    

Configuration parameters

Replace the following placeholders:

  • Receiver configuration:

    • listen_address: IP address and port to listen on:
      • 0.0.0.0 to listen on all interfaces (recommended)
      • Port 514 is the standard syslog port (requires root on Linux; use 1514 for non-root)
  • Exporter configuration:

    • creds_file_path: Full path to the service account JSON key file (Option 1):
      • Linux: /opt/observiq-otel-collector/ingestion-auth.json
      • Windows: C:\Program Files\observIQ OpenTelemetry Collector\ingestion-auth.json
    • customer_id: Customer ID copied from the Google SecOps console
    • location: Replace <LOCATION> with the region of your Google SecOps instance (for example, us, europe, or asia-southeast1). The exporter prefixes chronicle.googleapis.com with this value. See Regional Endpoints for the complete list.
    • project: Replace <PROJECT_NUMBER> with the project number from IAM & Admin > Settings.
    • endpoint: Keep set to chronicle.googleapis.com.

Legacy ingestion API exporter

  • If you use the ingestion authentication file from Option 2, replace the exporters block with the following. Set creds_file_path to the path to the ingestion authentication file, and if your instance is outside the US, replace malachiteingestion-pa.googleapis.com with your regional endpoint (for example, europe-malachiteingestion-pa.googleapis.com).

    exporters:
      chronicle/cisco_switch:
        compression: gzip
        creds_file_path: '/opt/observiq-otel-collector/ingestion-auth.json'
        customer_id: '<customer_id>'
        endpoint: malachiteingestion-pa.googleapis.com
        log_type: CISCO_SWITCH
        raw_log_field: body
    

Save the configuration file

  • After editing, save the file:
    • Linux: Press Ctrl+O, then Enter, then Ctrl+X
    • Windows: Click File > Save

Restart the Bindplane agent to apply the changes

  • To restart the Bindplane agent in Linux, run the following command:

    sudo systemctl restart observiq-otel-collector
    
    1. Verify the service is running:

      ```bash
      sudo systemctl status observiq-otel-collector
      ```
      
    2. 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-collector
      
    • Services console:

      1. Press Win+R, type services.msc, and press Enter.
      2. Locate observIQ OpenTelemetry Collector.
      3. Right-click and select Restart.
      4. Verify the service is running:

        sc query observiq-otel-collector
        
      5. Check logs for errors:

        type "C:\Program Files\observIQ OpenTelemetry Collector\log\collector.log"
        

Configure syslog on a Cisco switch

  1. Sign in to the Cisco Switch.
  2. Escalate privileges:

    enable
    
  3. Switch to configuration mode:

    conf t
    
  4. Configure syslog:

    logging host <BINDPLANE_IP> transport <tcp/udp> port <PORT>
    logging source-interface <INTERFACE>
    
    • Replace <BINDPLANE_IP> with the Bindplane agent IP address.
    • Replace <tcp/udp> with the configured listening protocol (for example, udp).
    • Replace <INTERFACE> with the Cisco interface ID.
  5. Set the priority level:

    logging trap Informational
    logging console Informational
    logging severity Informational
    
  6. Set the syslog facility:

    logging facility local6
    
  7. Enable timestamps:

    service timestamps log datetime
    
  8. Save and exit.

  9. Save the configuration to survive restart:

    copy running-config startup-config
    

UDM mapping table

The following table lists the UDM fields mapped from Cisco switch log fields:

Log field UDM mapping
_time metadata.collected_timestamp
act security_result.action
action security_result.action,
security_result.action_details,
security_result.summary
admin_ip principal.ip,
principal.asset.ip
admin_state additional.fields
admin_user principal.user.userid
aid network.session_id,
additional.fields
alarm additional.fields
alarm_name security_result.summary
ap_mac principal.mac,
principal.asset.mac
ap_name observer.hostname
app target.application
app_id additional.fields
app_name target.application
app_proto network.application_protocol
app_protocol_src network.application_protocol
appcat additional.fields
applist additional.fields
audit_session_id network.session_id
audit_type metadata.product_event_type
auth_ip principal.ip,
principal.asset.ip
auth_module additional.fields
auth_type additional.fields,
extensions.auth.type
band additional.fields
bgp_pid principal.process.pid
bssid additional.fields
bssid_mac observer.mac
bytes_usage additional.fields
Calling Station Id principal.mac,
principal.asset.mac
car_val additional.fields
channel additional.fields,
target.resource.attribute.labels
chassis_id principal.resource.product_object_id
cipher network.tls.cipher
cise_msg security_result.description
client_ip principal.ip,
principal.asset.ip
client_mac_algorithms additional.fields
client_port principal.port
cluster_id additional.fields
cmd additional.fields
cmd_user principal.user.userid
command target.process.command_line
connid network.session_id
content_type additional.fields
cost_val additional.fields
cpu_sec additional.fields
cpu_utilization_intr additional.fields
cpu_utilization_total additional.fields
datetime metadata.event_timestamp
desc metadata.description
descr metadata.description
description metadata.description,
security_result.description
destination_ip target.ip,
target.asset.ip
destination_port target.port
DEVICE principal.mac
device intermediary.hostname,
additional.fields
device_hostname intermediary.hostname
device_ip intermediary.ip
device_name intermediary.hostname,
intermediary.asset.hostname
device_serial_id intermediary.asset.asset_id
devid intermediary.asset.product_object_id
devname intermediary.hostname
dhcp_ip network.dhcp.yiaddr
dport target.port
DPT target.port
DST target.ip,
target.asset.ip
dst target.ip,
target.mac
dst_country target.location.country_or_region
dst_ip target.ip,
target.asset.ip
dst_mac target.mac,
target.asset.mac
dst_port target.port
dstintf additional.fields
dstintfrole additional.fields
dstip target.ip,
target.asset.ip
dstport target.port
duration network.session_duration.seconds,
network.session_duration.nanos
duration_ms additional.fields
ecs.version metadata.product_version
eem_policy additional.fields
eigrp_as additional.fields
Endpoint principal.mac,
principal.asset.mac
epoch_timestamp metadata.event_timestamp
error_code security_result.detection_fields
error_message security_result.detection_fields
error_msg security_result.detection_fields
ether_type additional.fields
event_time metadata.event_timestamp
eventSummary metadata.product_event_type,
security_result.summary
eventtime metadata.event_timestamp
exception additional.fields
exclusion_reason additional.fields,
security_result.detection_fields
exit_code additional.fields
exit_status additional.fields
external_groups additional.fields
facility principal.resource.resource_subtype,
security_result.summary
Failure Reason additional.fields
fc_subtype additional.fields
fc_type additional.fields
file_path target.file.full_path
flapping_dst_port additional.fields
flapping_src_port additional.fields
function additional.fields
ha_state additional.fields
header_data intermediary.ip
hits additional.fields
hmac_algorithm additional.fields
host_name principal.hostname,
principal.asset.hostname,
target.hostname,
target.asset.hostname
hostname principal.hostname,
principal.asset.hostname
http_method network.http.method
http_payload additional.fields
http_status network.http.response_code
http_version network.application_protocol_version
icmp_code additional.fields
icmp_type additional.fields
ID network.session_id
id principal.user.userid
IN additional.fields
inner_time metadata.event_timestamp
interface additional.fields
interface_name additional.fields
intermediary_hostname intermediary.hostname
intermediary_ip intermediary.ip,
intermediary.asset.ip,
intermediary.hostname
ip_address principal.ip,
principal.asset.ip
ip_protocol network.ip_protocol
ip_src principal.ip
last_known_client_ip principal.ip
LEN network.session_duration.seconds
level security_result.severity
local_vlan additional.fields
log_description metadata.description
log_id metadata.product_log_id
log_message metadata.description
log_seq_num additional.fields
log_seq_num_2 additional.fields
log_version metadata.product_version
logid metadata.product_log_id
login_port target.port
login_source principal.ip,
principal.asset.ip
login_status security_result.summary
login_user target.user.userid
logout_ip principal.ip,
principal.asset.ip
logout_user principal.user.userid
MAC additional.fields
mac principal.mac,
principal.asset.mac
mastersrcmac additional.fields
max_retx_val additional.fields
memory_bytes additional.fields
MessageSourceAddress intermediary.ip
mnemonic metadata.product_event_type
module_id additional.fields
moved additional.fields
NAS Identifier additional.fields
NAS IP Address principal.ip,
principal.asset.ip
neighbor_id additional.fields
neighbor_port additional.fields
netflow.post_napt_source_transport_port principal.nat_port
netflow.post_nat_source_ipv4_address principal.ip,
principal.asset.ip
netflow.source_ipv4_address principal.ip,
principal.asset.ip
netflow.source_transport_port principal.port
Network device IP target.ip,
target.asset.ip
Network Device Name target.hostname,
target.asset.hostname
network.direction network.direction
network.transport network.ip_protocol
num_pending_msgs additional.fields
op_category additional.fields
oper_state additional.fields
operating_value additional.fields
osname principal.asset.platform_software.platform,
additional.fields
OUT additional.fields
p_interface principal.resource.name
p_ip principal.ip
pd_identifier target.resource.product_object_id
PHYSIN additional.fields
pid target.process.pid
pid_1 additional.fields
pmon_port additional.fields
pmon_value additional.fields
policyid security_result.rule_id
policyname security_result.rule_name
policytype security_result.rule_type
poluuid additional.fields
port target.port,
principal.port
port_blocked additional.fields
port_channel additional.fields
port_hex additional.fields
port_mode additional.fields
PREC additional.fields
preced additional.fields
precedence additional.fields
principal_host intermediary.hostname
principal_mac principal.mac,
principal.asset.mac
priority additional.fields
proc_id principal.process.pid
process metadata.product_event_type
process_id additional.fields
process_name principal.application,
additional.fields,
target.application
prod_event_type metadata.product_event_type
product_event metadata.product_event_type
product_event_id metadata.product_event_type
product_event_type metadata.product_event_type
product_log_id metadata.product_log_id
PROTO network.ip_protocol
proto network.ip_protocol
protocol network.ip_protocol,
additional.fields
PWD target.process.file.full_path
radio additional.fields
rcvdbyte network.received_bytes
rcvdpkt network.received_packets
realm_val additional.fields
reason additional.fields,
security_result.description
referral_url network.http.referral_url
remote_domain additional.fields
remote_hostname principal.hostname,
principal.asset.hostname
remote_interface principal.resource.name
remote_vlan additional.fields
repeat_count additional.fields
req_id additional.fields
RES additional.fields
res_action security_result.action
resource_name principal.resource.name
resource_subtype target.resource.resource_subtype
restart_sec additional.fields
retx_count additional.fields
rhost principal.hostname,
principal.asset.hostname
rssi intermediary.asset.product_object_id,
additional.fields
rule security_result.rule_id
rule_id security_result.rule_id
sec_desc security_result.description
send_seq_num additional.fields
sentbyte network.sent_bytes
sentpkt network.sent_packets
seq_num additional.fields,
metadata.product_log_id
sequence_id additional.fields
serial_number additional.fields
Server principal.hostname,
principal.asset.hostname
server_id additional.fields
server_ip target.ip,
target.asset.ip
server_mac_algorithms additional.fields
server_name target.hostname,
target.asset.hostname
service_start_timeout_ms additional.fields
session target.resource.attribute.labels
session_id network.session_id
session_status additional.fields
sessionid network.session_id
severity security_result.severity,
security_result.severity_details
signature additional.fields
sip_desc security_result.description
sip_event metadata.product_event_type,
network.ip_protocol
sip_local_addr target.ip,
target.asset.ip
sip_remote_addr principal.ip,
principal.asset.ip
sip_remote_port principal.port
slot additional.fields,
security_result.detection_fields
snmp_community additional.fields
snmp_oid additional.fields
source_ip principal.ip,
principal.asset.ip,
network.dhcp.ciaddr,
network.dhcp.yiaddr
source_port principal.port
SourceModuleName target.resource.name
SourceModuleType observer.application
speed additional.fields
sport principal.port
SPT principal.port
SRC principal.ip,
principal.asset.ip
src principal.ip,
principal.mac
src_country principal.location.country_or_region
src_ip principal.ip,
principal.asset.ip
src_ip2 principal.ip
src_mac principal.mac,
principal.asset.mac
src_port principal.port
srchwvendor additional.fields
srcintf additional.fields
srcintfrole additional.fields
srcip principal.ip,
principal.asset.ip
srcmac principal.mac,
principal.asset.mac
srcname principal.hostname,
principal.asset.hostname
srcPort principal.port
srcport principal.port
srcserver additional.fields
srcswversion principal.asset.platform_software.platform_version
srcUser principal.user.userid
ssid additional.fields
ssid_id additional.fields
ssid_profile_name additional.fields
state additional.fields
status_val additional.fields
subtype network.direction
sugg_band additional.fields
switch_hostname principal.hostname,
principal.asset.hostname
switch_id additional.fields
syslog_pri additional.fields
syslog_sequence_2 metadata.product_log_id
syslog_tag additional.fields
syslog_version additional.fields
system_process target.application
target_app target.application
target_host target.mac,
target.asset.mac
target_ip target.ip,
target.asset.ip
target_mac target.mac,
target.asset.mac
target_pid target.process.pid
target_resource_name target.resource.name,
additional.fields
target_url target.url
target_user target.user.userid
target_user_id target.user.userid
terminal additional.fields
threshold_value additional.fields
time_stamp metadata.event_timestamp
timestamp metadata.event_timestamp
TOS additional.fields
track additional.fields
trandisp additional.fields
transceiver_model additional.fields
transceiver_serial additional.fields
transip principal.nat_ip
transport additional.fields
TTL additional.fields
TTY additional.fields
type metadata.product_event_type
uid additional.fields
UniqueId additional.fields
URGP additional.fields
url principal.url
user target.user.userid
user_agent network.http.user_agent
user_name target.user.userid
username1 target.user.userid
username3 target.user.userid
vap additional.fields
vd additional.fields
vlan additional.fields
vlan_data intermediary.resource.attribute.labels
vlan_id intermediary.resource.attribute.labels
vlan_port additional.fields
vrf additional.fields
vsan additional.fields
vsp_client_ip principal.ip,
principal.asset.ip
vsp_res_action security_result.action
vsp_resp_sec network.session_duration.seconds,
network.session_duration.nanos
vsp_time metadata.event_timestamp
vsp_user principal.user.userid
vwlid additional.fields
when metadata.event_timestamp
WINDOW additional.fields

UDM mapping delta reference

On November 24, 2026, Google SecOps released a new version of the Cisco switch parser with updated log-to-UDM field mappings.

Log-field mapping delta

The following table lists the log-to-UDM mapping changes introduced on November 24, 2026, in the Old mapping and New mapping columns:

Log field Old mapping New mapping Reason for change
audit_session_id security_result.detection_fields network.session_id Maps to a dedicated session ID field because this value identifies the client authentication or network session rather than a detection attribute.
channel security_result.detection_fields additional.fields Moves this field to additional.fields because the wireless radio channel is operational metadata rather than a security detection attribute.
device principal.hostname,
principal.asset.hostname
intermediary.hostname Updates the mapping because the syslog header device name identifies the reporting switch (intermediary) rather than the initiating client endpoint.
device_hostname principal.hostname,
principal.asset.hostname
intermediary.hostname Updates the mapping because the syslog header hostname identifies the reporting or forwarding switch (intermediary), while the initiating client maps to principal.
device_ip target.ip,
target.asset.ip,
principal.ip,
principal.asset.ip
intermediary.ip Updates the mapping because the syslog header IP address identifies the reporting switch (intermediary), while source and destination endpoints map to principal.ip and target.ip.
dhcp_ip network.dhcp.yiaddr,
target.ip,
target.asset.ip
network.dhcp.yiaddr Removes redundant target.ip and target.asset.ip mappings because this field represents the leased client IP address (yiaddr).
dst_country additional.fields target.location.country_or_region Maps to a more specific UDM location field because this value represents the geographic country or region of the destination IP address.
dst_mac target.mac target.mac,
target.asset.mac
Adds target.asset.mac so the destination MAC address populates both the entity and asset UDM fields.
header_data target.ip,
target.asset.ip
intermediary.ip Updates the mapping because the outer syslog header IP address identifies the log-forwarding device (intermediary) rather than the destination endpoint.
intermediary_hostname intermediary.hostname,
intermediary.asset.hostname
intermediary.hostname Removes the redundant intermediary.asset.hostname mapping to avoid duplicate values.
MessageSourceAddress principal.ip,
principal.asset.ip
intermediary.ip Updates the mapping because MessageSourceAddress identifies the device forwarding the log (intermediary), while the initiating entity maps to principal.
netflow.post_napt_source_transport_port additional.fields principal.nat_port Maps to a more specific UDM field because this value represents the translated source port after Network Address Port Translation (NAPT).
pid principal.process.pid target.process.pid Updates the mapping because the process ID belongs to the local service running on the target switch, while the remote client maps to principal.
principal_host principal.hostname,
principal.asset.hostname
intermediary.hostname Updates the mapping because the syslog header hostname identifies the reporting switch (intermediary), while the initiating client IP or MAC address maps to principal.
seq_num target.user.userid metadata.product_log_id Corrects the mapping because the syslog sequence number is a log event identifier rather than a user ID.
src_country additional.fields principal.location.country_or_region Maps to a more specific UDM location field because this value represents the geographic country or region of the source IP address.
system_process principal.application target.application Updates the mapping because the system process is the target application service on the switch handling the request from the remote client (principal).
target_host target.hostname,
target.asset.hostname
target.mac,
target.asset.mac
Maps to target.mac and target.asset.mac when the switch logs a dotted-hexadecimal client MAC address (YYYY.YYYY.YYYY) instead of a hostname.
user principal.user.userid target.user.userid Updates the mapping because user identifies the target account being accessed on the switch, while the remote client IP address maps to principal.
user_name principal.user.userid target.user.userid Updates the mapping because user_name identifies the target account on the switch where the configuration change occurs, while the remote client maps to principal.

Change Log

View the Change Log for this parser

Need more help? Get answers from Community members and Google SecOps professionals.