Dokumen ini menjelaskan cara menyerap log router Yamaha ke Google Security Operations menggunakan Bindplane. Parser menggunakan pola grok untuk mengekstrak kolom seperti stempel waktu, nama host, pengguna, deskripsi, alamat IP sumber dan tujuan dari pesan syslog. Kemudian, kolom yang diekstrak ini dipetakan ke UDM, mengategorikan jenis peristiwa berdasarkan keberadaan informasi pengguna, target, dan akun utama.
Sebelum memulai
Pastikan Anda memenuhi prasyarat berikut:
Instance Google SecOps
Windows 2016 atau yang lebih baru atau host Linux dengan systemd
Jika berjalan di belakang proxy, pastikan port firewall terbuka
Akses istimewa ke perlengkapan router Yamaha
Mendapatkan file autentikasi penyerapan Google SecOps
Login ke konsol Google SecOps.
Buka Setelan SIEM > Agen Pengumpulan.
Download File Autentikasi Penyerapan. Simpan file dengan aman di sistem tempat BindPlane akan diinstal.
Mendapatkan ID pelanggan Google SecOps
Login ke konsol Google SecOps.
Buka Setelan SIEM > Profil.
Salin dan simpan ID Pelanggan dari bagian Detail Organisasi.
Menginstal agen Bindplane
Instal agen Bindplane di sistem operasi Windows atau Linux Anda sesuai
dengan petunjuk berikut.
Penginstalan Windows
Buka Command Prompt atau PowerShell sebagai administrator.
Mengonfigurasi agen BindPlane untuk menyerap Syslog dan mengirimkannya ke Google SecOps
Akses file konfigurasi:
Cari file config.yaml. Biasanya, file ini berada di direktori /etc/bindplane-agent/ di Linux atau di direktori penginstalan di Windows.
Buka file menggunakan editor teks (misalnya, nano, vi, atau Notepad).
Edit file config.yaml sebagai berikut:
receivers:udplog:# Replace the port and IP address as requiredlisten_address:"0.0.0.0:514"exporters:chronicle/chronicle_w_labels:compression:gzip# Adjust the path to the credentials file you downloaded in Step 1creds_file_path:'/path/to/ingestion-authentication-file.json'# Replace with your actual customer ID from Step 2customer_id:<customer_id>
endpoint:malachiteingestion-pa.googleapis.com# Add optional ingestion labels for better organizationlog_type:'YAMAHA_ROUTER'raw_log_field:bodyingestion_labels:service:pipelines:logs/source0__chronicle_w_labels-0:receivers:-udplogexporters:-chronicle/chronicle_w_labels
Ganti port dan alamat IP sesuai kebutuhan di infrastruktur Anda.
Ganti <customer_id> dengan ID pelanggan yang sebenarnya.
Mulai ulang agen Bindplane untuk menerapkan perubahan
Untuk memulai ulang agen Bindplane di Linux, jalankan perintah berikut:
sudosystemctlrestartbindplane-agent
Untuk memulai ulang agen Bindplane di Windows, Anda dapat menggunakan konsol
Services atau memasukkan perintah berikut:
net stop BindPlaneAgent && net start BindPlaneAgent
Mengonfigurasi Syslog untuk router Yamaha
Hubungkan ke router menggunakan SSH atau CLI.
Setel Syslog Host ke IP agen BindPlane:
Port default adalah 514/UDP.
Ganti <BINDPLANE_IP> dengan alamat IP agen Bindplane yang sebenarnya.
sysloghost<BINDPLANE_IP>
Opsional: Tetapkan fasilitas dan tingkat Syslog:
syslogfacilitylocal0
sysloginfo
Simpan konfigurasi untuk memastikan perubahan tetap ada setelah perangkat di-reboot:
save
Aktifkan output Syslog untuk modul yang diperlukan
Mengaktifkan logging untuk fitur tertentu:
Logging firewall (filter IP):
ipfilterlogon
Logging NAT:
Dengan 1000 adalah nomor deskriptor NAT yang Anda gunakan (sesuaikan seperlunya).
natdescriptorlogon1000
Logging koneksi PPPoE / WAN:
pppoeuselogon
Jika Anda menggunakan DHCP WAN (bukan PPPoE), catat peristiwa DHCP:
dhcpservicelogon
Untuk logging VPN IPsec:
ipseclogon
Untuk L2TP dan PPTP:
l2tplogon
pptplogon
Mencatat peristiwa aktif/nonaktif antarmuka:
logstateon
Anda juga dapat mengaktifkan logging untuk ping keepalive jika Anda menggunakan pemantauan link:
pingkeepalivelogon
Aktifkan logging untuk akses administratif (seperti SSH atau Telnet):
consolenotice
sshnotice
telnetnotice
Mencatat penetapan DHCP:
dhcpservicelogon
Pencatatan DNS (jika menggunakan penerusan DNS bawaan):
dnsservicelogon
Pencatatan log transfer email (jika menggunakan notifikasi email):
smtpservicelogon
Logging DNS dinamis:
ddnsservicelogon
Peristiwa NTP:
ntpdatelogon
Logging autentikasi:
authlogon
Logging radius:
pppuseradiuslogon
Simpan konfigurasi untuk memastikan perubahan tetap ada setelah dimulai ulang:
save
Tabel Pemetaan UDM
Kolom Log
Pemetaan UDM
Logika
data
metadata.description
Deskripsi diekstrak dari kolom data log mentah menggunakan pola grok. Pola yang berbeda digunakan bergantung pada format pesan log. Contoh: "initiate ISAKMP phase", "Connection closed", "succeeded for SSH".
data
metadata.event_timestamp
Stempel waktu diekstrak dari kolom data log mentah menggunakan pola grok, lalu dikonversi menjadi objek stempel waktu menggunakan filter date. Format MMM dd HH:mm:ss dan MMM d HH:mm:ss didukung.
data
principal.asset.hostname
Nama host diekstrak dari kolom data log mentah menggunakan pola grok.
data
principal.asset.ip
Alamat IP utama diekstrak dari kolom data log mentah menggunakan pola grok. Ini dipetakan ke principal.asset.ip dan principal.ip.
data
principal.hostname
Nama host diekstrak dari kolom data log mentah menggunakan pola grok.
data
principal.ip
Alamat IP utama diekstrak dari kolom data log mentah menggunakan pola grok. Ini dipetakan ke principal.asset.ip dan principal.ip.
data
principal.user.userid
ID pengguna diekstrak dari kolom data log mentah menggunakan pola grok.
data
target.asset.ip
Alamat IP target diekstrak dari kolom data log mentah menggunakan pola grok.
data
target.ip
Alamat IP target diekstrak dari kolom data log mentah menggunakan pola grok. Jenis peristiwa ditentukan oleh logika parser berdasarkan keberadaan kolom tertentu. Jika principal dan target ada, jenis acaranya adalah NETWORK_CONNECTION. Jika user ada, jenis peristiwanya adalah USER_UNCATEGORIZED. Jika hanya principal yang ada, jenis peristiwanya adalah STATUS_UPDATE. Jika tidak, nilai defaultnya adalah GENERIC_EVENT. Dikodekan secara permanen ke "YAMAHA_ROUTER". Dikodekan secara permanen ke "YAMAHA_ROUTER". Dikodekan secara permanen ke "YAMAHA_ROUTER".
log_type
metadata.log_type
Disalin langsung dari kolom log_type log mentah.
timestamp
timestamp
Ini adalah waktu penyerapan log dan ditambahkan secara otomatis oleh platform Chronicle. Tidak diuraikan dari log mentah.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-09-04 UTC."],[],[],null,["# Collect Yamaha router logs\n==========================\n\nSupported in: \nGoogle secops [SIEM](/chronicle/docs/secops/google-secops-siem-toc)\n| **Note:** This feature is covered by [Pre-GA Offerings Terms](https://chronicle.security/legal/service-terms/) of the Google Security Operations Service Specific Terms. Pre-GA features might have limited support, and changes to pre-GA features might not be compatible with other pre-GA versions. For more information, see the [Google SecOps Technical Support Service guidelines](https://chronicle.security/legal/technical-support-services-guidelines/) and the [Google SecOps Service Specific Terms](https://chronicle.security/legal/service-terms/).\n\nThis document explains how to ingest Yamaha router logs to Google Security Operations using Bindplane. The parser uses grok patterns to extract fields like timestamp, hostname, user, description, source and destination IP addresses from the syslog messages. It then maps these extracted fields to the UDM, categorizing the event type based on the presence of principal, target, and user information.\n\nBefore you begin\n----------------\n\nMake sure you have the following prerequisites:\n\n- Google SecOps instance\n- Windows 2016 or later or a Linux host with `systemd`\n- If running behind a proxy, ensure firewall [ports](/chronicle/docs/ingestion/use-bindplane-agent#verify_the_firewall_configuration) are open\n- Privileged access to the Yamaha router appliance\n\nGet Google SecOps ingestion authentication file\n-----------------------------------------------\n\n1. Sign in to the Google SecOps console.\n2. Go to **SIEM Settings \\\u003e Collection Agents**.\n3. Download the **Ingestion Authentication File**. Save the file securely on the system where Bindplane will be installed.\n\nGet Google SecOps customer ID\n-----------------------------\n\n1. Sign in to the Google SecOps console.\n2. Go to **SIEM Settings \\\u003e Profile**.\n3. Copy and save the **Customer ID** from the **Organization Details** section.\n\nInstall the Bindplane agent\n---------------------------\n\nInstall the Bindplane agent on your Windows or Linux operating system according\nto the following instructions.\n\n### Windows installation\n\n1. Open the **Command Prompt** or **PowerShell** as an administrator.\n2. Run the following command:\n\n msiexec /i \"https://github.com/observIQ/bindplane-agent/releases/latest/download/observiq-otel-collector.msi\" /quiet\n\n### Linux installation\n\n1. Open a terminal with root or sudo privileges.\n2. Run the following command:\n\n sudo sh -c \"$(curl -fsSlL https://github.com/observiq/bindplane-agent/releases/latest/download/install_unix.sh)\" install_unix.sh\n\n### Additional installation resources\n\nFor additional installation options, consult the [installation guide](/chronicle/docs/ingestion/use-bindplane-agent#install_the_bindplane_agent).\n\nConfigure the Bindplane agent to ingest Syslog and send to Google SecOps\n------------------------------------------------------------------------\n\n1. Access the configuration file:\n - Locate the `config.yaml` file. Typically, it's in the `/etc/bindplane-agent/` directory on Linux or in the installation directory on Windows.\n - Open the file using a text editor (for example, `nano`, `vi`, or Notepad).\n2. Edit the `config.yaml` file as follows:\n\n receivers:\n udplog:\n # Replace the port and IP address as required\n listen_address: \"0.0.0.0:514\"\n\n exporters:\n chronicle/chronicle_w_labels:\n compression: gzip\n # Adjust the path to the credentials file you downloaded in Step 1\n creds_file_path: '/path/to/ingestion-authentication-file.json'\n # Replace with your actual customer ID from Step 2\n customer_id: \u003ccustomer_id\u003e\n endpoint: malachiteingestion-pa.googleapis.com\n # Add optional ingestion labels for better organization\n log_type: 'YAMAHA_ROUTER'\n raw_log_field: body\n ingestion_labels:\n\n service:\n pipelines:\n logs/source0__chronicle_w_labels-0:\n receivers:\n - udplog\n exporters:\n - chronicle/chronicle_w_labels\n\n - Replace the port and IP address as required in your infrastructure.\n - Replace `\u003ccustomer_id\u003e` with the actual customer ID.\n - Update `/path/to/ingestion-authentication-file.json` to the path where the authentication file was saved in the [Get Google SecOps ingestion authentication file](/chronicle/docs/ingestion/default-parsers/yamaha-router#get-auth-file) section.\n\nRestart the Bindplane agent to apply the changes\n------------------------------------------------\n\n- To restart the Bindplane agent in **Linux**, run the following command:\n\n sudo systemctl restart bindplane-agent\n\n- To restart the Bindplane agent in **Windows** , you can either use the\n **Services** console or enter the following command:\n\n net stop BindPlaneAgent && net start BindPlaneAgent\n\nConfigure Syslog for the Yamaha router\n--------------------------------------\n\n1. Connect to the router using SSH or CLI.\n2. Set Syslog Host to the Bindplane agent IP:\n\n - Default port is **514/UDP**.\n - Replace `\u003cBINDPLANE_IP\u003e` with the actual Bindplane agent IP address.\n\n syslog host \u003cBINDPLANE_IP\u003e\n\n3. Optional: Set Syslog facility and level:\n\n syslog facility local0\n syslog info\n\n4. Save the configuration to ensure the changes persist after reboot:\n\n save\n\nEnable Syslog output for the required modules\n---------------------------------------------\n\n1. Enable logging for specific features:\n\n - Firewall (IP filter) logging:\n\n ip filter log on\n\n - NAT logging:\n\n - Where 1000 is the NAT descriptor number you're using (adjust as needed).\n\n nat descriptor log on 1000\n\n - PPPoE / WAN connection logging:\n\n pppoe use log on\n\n - If you use DHCP WAN (instead of PPPoE), log DHCP events:\n\n dhcp service log on\n\n - For IPsec VPN logging:\n\n ipsec log on\n\n - For L2TP and PPTP:\n\n l2tp log on\n pptp log on\n\n - Log interface up/down events:\n\n log state on\n\n - You can also enable logging for ping keepalive if you're using link monitoring:\n\n ping keepalive log on\n\n - Enable logging for administrative access (such as SSH or Telnet):\n\n console notice\n ssh notice\n telnet notice\n\n - Log DHCP assignments:\n\n dhcp service log on\n\n - DNS logging (if using built-in DNS forwarder):\n\n dns service log on\n\n - Mail transfer logging (if using email alerts):\n\n smtp service log on\n\n - Dynamic DNS logging:\n\n ddns service log on\n\n - NTP events:\n\n ntpdate log on\n\n - Authentication logging:\n\n auth log on\n\n - Radius logging:\n\n ppp use radius log on\n\n2. Save configuration to ensure changes persist after reboot:\n\n save\n\nUDM Mapping Table\n-----------------\n\n**Need more help?** [Get answers from Community members and Google SecOps professionals.](https://security.googlecloudcommunity.com/google-security-operations-2)"]]