收集 Cisco Catalyst Center(以前称为 DNA Center)日志

解析器版本:2.0

支持的平台:

本文档介绍了如何使用两种不同的方法将 Cisco Catalyst Center(以前称为 DNA Center)日志注入到 Google Security Operations。请选择最符合您的环境和要求的选项。

Cisco Catalyst Center 是一个集中式网络管理和自动化平台,适用于企业园区、分支机构和 IoT 网络。它可在有线和无线基础设施中提供基于意图的网络、政策管理、设备配置、保障分析和 AI 驱动的问题检测。Catalyst Center 会生成与网络健康状况、设备状态变化、安全政策违规和保障问题相关的事件。

准备工作

请确保满足以下前提条件:

  • Google SecOps 实例。
  • 对 Cisco Catalyst Center 管理控制台的特权访问权限。
  • 对于选项 1:Windows Server 2016 或更高版本,或者具有 systemd 的 Linux 主机(适用于 Bindplane 代理)。
  • 对于选项 2:Cisco Catalyst Center 与 Google SecOps 网络钩子端点之间的网络连接。

选项 1 - 使用 Bindplane 代理进行 Syslog 集成

此选项使用从 Cisco Catalyst Center 到 Bindplane 代理的 syslog 转发,然后将结构化日志转发到 Google SecOps。

获取 Google SecOps 注入身份验证文件

  1. 登录 Google SecOps 控制台。
  2. 依次前往 SIEM 设置 > 收集代理
  3. 下载数据注入身份验证文件。将文件安全地保存在将要安装 Bindplane 的系统上。

获取 Google SecOps 客户 ID

  1. 登录 Google SecOps 控制台。
  2. 依次前往 SIEM 设置 > 配置文件
  3. 复制并保存组织详细信息部分中的客户 ID

安装 Bindplane 代理

按照以下说明在 Windows 或 Linux 操作系统上安装 Bindplane 代理。

Windows 安装

  1. 以管理员身份打开命令提示符PowerShell
  2. 运行以下命令:

    msiexec /i "https://github.com/observIQ/bindplane-agent/releases/latest/download/observiq-otel-collector.msi" /quiet
    
  3. 等待安装完成。

  4. 运行以下命令,验证安装是否成功:

    sc query observiq-otel-collector
    

该服务应显示为 正在运行

Linux 安装

  1. 打开具有 root 或 sudo 权限的终端。
  2. 运行以下命令:

    sudo sh -c "$(curl -fsSlL https://github.com/observiq/bindplane-agent/releases/latest/download/install_unix.sh)" install_unix.sh
    
  3. 等待安装完成。

  4. 运行以下命令,验证安装是否成功:

    sudo systemctl status observiq-otel-collector
    

该服务应显示为有效(正在运行)

其他安装资源

如需了解其他安装选项和问题排查信息,请参阅 Bindplane 代理安装指南

配置 Bindplane 代理以注入 syslog 并将其发送到 Google SecOps

找到配置文件

  • 在您的操作系统上找到配置文件,如下所示:

    • Linux
    sudo systemctl status observiq-otel-collector
    
    • Windows
    notepad "C:\Program Files\observIQ OpenTelemetry Collector\config.yaml"
    

修改配置文件

  • config.yaml 的全部内容替换为以下配置:

    receivers:
        udplog:
            listen_address: "0.0.0.0:514"
    
    exporters:
        chronicle/cisco_catalyst_center:
            compression: gzip
            creds_file_path: '/etc/bindplane-agent/ingestion-auth.json'
            customer_id: 'YOUR_CUSTOMER_ID'
            endpoint: malachiteingestion-pa.googleapis.com
            log_type: CISCO_DNAC
            raw_log_field: body
    
    service:
        pipelines:
            logs/cisco_catalyst_center_to_chronicle:
                receivers:
                    - udplog
                exporters:
                    - chronicle/cisco_catalyst_center
    

配置参数

替换以下占位符:

  • 接收器配置

    • listen_address:要监听的 IP 地址和端口。使用 0.0.0.0 可监听所有接口。如果需要,请替换端口(例如,对于非 root Linux,请使用 1514)。
  • 导出器配置

    • creds_file_path:提取身份验证文件的完整路径:
      • Linux/etc/bindplane-agent/ingestion-auth.json
      • WindowsC:\Program Files\observIQ OpenTelemetry Collector\ingestion-auth.json
    • YOUR_CUSTOMER_ID:您的 Google SecOps 客户 ID。
    • endpoint:区域端点网址:
      • 美国malachiteingestion-pa.googleapis.com
      • 欧洲europe-malachiteingestion-pa.googleapis.com
      • 亚洲asia-southeast1-malachiteingestion-pa.googleapis.com
      • 如需查看完整列表,请参阅区域级端点

保存配置文件

  • 修改后,保存文件:
    • Linux:依次按 Ctrl+OEnterCtrl+X