CommVault 백업 및 복구 로그 수집
이 문서에서는 Bindplane 에이전트를 사용하여 CommVault 백업 및 복구 (CommCell) 로그를 Google Security Operations로 수집하는 방법을 설명합니다.
CommVault CommCell은 백업 및 복구 작업과 관련된 알림, 감사 추적, 이벤트에 대한 syslog 메시지를 생성합니다. 파서는 필드를 추출하여 통합 데이터 모델 (UDM)에 매핑합니다.
시작하기 전에
다음 기본 요건이 충족되었는지 확인합니다.
- Google SecOps 인스턴스
- Windows Server 2016 이상 또는
systemd가 있는 Linux 호스트 - Bindplane 에이전트와 CommVault CommCell 시스템 간의 네트워크 연결
- 프록시 뒤에서 실행하는 경우 Bindplane 에이전트 요구사항에 따라 방화벽 포트가 열려 있는지 확인합니다.
- Commvault CommCell 웹 UI에 대한 권한 액세스
Google SecOps 수집 인증 파일 가져오기
- Google SecOps 콘솔에 로그인합니다.
- SIEM 설정 > 수집 에이전트 로 이동합니다.
- 수집 인증 파일 을 다운로드합니다.
Bindplane 에이전트가 설치될 시스템에 파일을 안전하게 저장합니다.
Google SecOps 고객 ID 가져오기
- Google SecOps 콘솔에 로그인합니다.
- SIEM 설정 > 프로필 로 이동합니다.
조직 세부정보 섹션에서 고객 ID 를 복사하여 저장합니다.
Bindplane 에이전트 설치
다음 안내에 따라 Windows 또는 Linux 운영체제에 Bindplane 에이전트를 설치합니다.
Windows 설치
- 관리자 권한으로 명령 프롬프트 또는 PowerShell 을 엽니다.
다음 명령어를 실행합니다.
msiexec /i "https://github.com/observIQ/bindplane-agent/releases/latest/download/observiq-otel-collector.msi" /quiet설치가 완료될 때까지 기다립니다.
다음을 실행하여 설치를 확인합니다.
sc query observiq-otel-collector서비스가 실행 중 으로 표시되어야 합니다.
Linux 설치
- 루트 또는 sudo 권한으로 터미널을 엽니다.
다음 명령어를 실행합니다.
sudo sh -c "$(curl -fsSlL https://github.com/observiq/bindplane-agent/releases/latest/download/install_unix.sh)" install_unix.sh설치가 완료될 때까지 기다립니다.
다음을 실행하여 설치를 확인합니다.
sudo systemctl status observiq-otel-collector서비스가 활성 (실행 중) 으로 표시되어야 합니다.
추가 설치 리소스
추가 설치 옵션 및 문제 해결은 Bindplane 에이전트 설치 가이드를 참조하세요.
syslog를 수집하고 Google SecOps로 전송하도록 Bindplane 에이전트 구성
구성 파일 찾기
Linux:
sudo nano /etc/bindplane-agent/config.yamlWindows:
notepad "C:\Program Files\observIQ OpenTelemetry Collector\config.yaml"
구성 파일 설정
config.yaml의 전체 콘텐츠를 다음 구성으로 바꿉니다.receivers: udplog: listen_address: "0.0.0.0:514" exporters: chronicle/commvault_commcell: compression: gzip creds_file_path: '/etc/bindplane-agent/ingestion-auth.json' customer_id: '<customer_id>' endpoint: malachiteingestion-pa.googleapis.com log_type: COMMVAULT_COMMCELL raw_log_field: body service: pipelines: logs/commvault_commcell_to_chronicle: receivers: - udplog exporters: - chronicle/commvault_commcell
구성 매개변수
다음 자리표시자를 바꿉니다.
수신기 구성:
listen_address: 리슨할 IP 주소 및 포트:- 모든 인터페이스에서 리슨하려면
0.0.0.0(권장) - 포트
514는 표준 syslog 포트입니다 (Linux에서 루트 필요, 비루트의 경우1514사용).
- 모든 인터페이스에서 리슨하려면
내보내기 구성:
creds_file_path: 수집 인증 파일의 전체 경로:- Linux:
/etc/bindplane-agent/ingestion-auth.json - Windows:
C:\Program Files\observIQ OpenTelemetry Collector\ingestion-auth.json
- Linux:
customer_id: Google SecOps 콘솔에서 복사한 고객 IDendpoint: 리전 엔드포인트 URL:- 미국:
malachiteingestion-pa.googleapis.com - 유럽:
europe-malachiteingestion-pa.googleapis.com - 아시아:
asia-southeast1-malachiteingestion-pa.googleapis.com - 전체 목록은 리전 엔드포인트를 참조하세요.
- 미국:
구성 파일 저장
- 수정 후 파일을 저장합니다.
- Linux:
Ctrl+O를 누른 다음Enter,Ctrl+X를 누릅니다. - Windows: 파일 > 저장을 클릭합니다.
- Linux:
Bindplane 에이전트를 다시 시작하여 변경사항 적용
Linux에서 Bindplane 에이전트를 다시 시작하려면 다음 명령어를 실행합니다.
sudo systemctl restart observiq-otel-collector서비스가 실행 중인지 확인합니다.
```bash sudo systemctl status observiq-otel-collector ```로그에서 오류를 확인합니다.
```bash sudo journalctl -u observiq-otel-collector -f ```
Windows에서 Bindplane 에이전트를 다시 시작하려면 다음 옵션 중 하나를 선택합니다.
관리자 권한으로 명령 프롬프트 또는 PowerShell:
net stop observiq-otel-collector && net start observiq-otel-collector서비스 콘솔:
Win+R을 누르고services.msc를 입력한 후 Enter 키를 누릅니다.- observIQ OpenTelemetry Collector 를 찾습니다.
- 마우스 오른쪽 버튼을 클릭하고 다시 시작 을 선택합니다.
서비스가 실행 중인지 확인합니다.
sc query observiq-otel-collector로그에서 오류를 확인합니다.
type "C:\Program Files\observIQ OpenTelemetry Collector\log\collector.log"
Commvault syslog 서버 구성
- Commvault CommCell 웹 UI에 로그인합니다.
- 관리 > 시스템 을 선택합니다.
- 시스템로그 서버 를 클릭합니다.
- syslog 서버의 다음 세부정보를 지정합니다.
- 호스트 이름: Bindplane 에이전트의 IP 주소를 입력합니다.
- 포트: Bindplane 포트를 입력합니다(예:
514). - 사용 설정 전환 버튼을 클릭하여 syslog 서버 설정을 활성화합니다.
- syslog로 전달 필드에서 알림, 감사 추적, 이벤트를 선택합니다.
- 제출 을 클릭합니다.
UDM 매핑 표
| 로그 필드 | UDM 매핑 | 논리 |
|---|---|---|
| AgentType | observer.application | 이벤트 로그의 AgentType 필드에서 직접 매핑됩니다. |
| Alertid | security_result.detection_fields.Alertid.value | 알림 로그의 Alertid 필드에서 직접 매핑됩니다. |
| Alertname | security_result.detection_fields.Alertname.value | 알림 로그의 Alertname 필드에서 직접 매핑됩니다. |
| Alertseverity | security_result.severity | 알림 로그의 Alertseverity 필드에서 매핑됩니다. UDM 심각도 수준 (INFORMATIONAL, HIGH, LOW, CRITICAL)으로 변환됩니다. |
| Alerttime | metadata.event_timestamp | 알림 로그의 Alerttime 필드에서 파싱되어 타임스탬프로 변환됩니다. |
| Audittime | metadata.event_timestamp | 감사 로그의 Audittime 필드에서 파싱되어 타임스탬프로 변환됩니다. |
| 클라이언트 | principal.hostname, principal.asset.hostname | 이벤트, 알림 또는 감사 로그의 Client 필드에서 직접 매핑됩니다. |
| CommCell | 이 UDM 필드는 원시 로그에서 가져오지 않습니다. 알림 설명에서 추출된 경우 backupcv로 설정됩니다. |
|
| 컴퓨터 | 이 UDM 필드는 원시 로그에서 가져오지 않습니다. 이벤트 로그에서 추출된 경우 backupcv로 설정됩니다. |
|
| 설명 | security_result.description | 이벤트 로그의 Description 필드 또는 알림 로그의 Alertdescription 필드에서 파싱된 event_description 필드에서 매핑됩니다. `Description` 필드에 `A suspicious file`이 포함되어 있으면 `A suspicious file is Detected`로 덮어쓰여집니다. |
| 세부정보 | grok을 사용하여 Client 필드를 추출하는 데 사용됩니다. |
|
| 기간 | 이 UDM 필드는 원시 로그에서 가져오지 않습니다. 이벤트 설명에서 추출된 기간으로 설정됩니다. | |
| Eventid | metadata.product_log_id | 이벤트 로그의 Eventid 필드에서 직접 매핑됩니다. |
| Eventseverity | security_result.severity | 이벤트 로그의 Eventseverity 필드에서 매핑됩니다. UDM 심각도 수준 (INFORMATIONAL, HIGH, LOW, CRITICAL)으로 변환됩니다. |
| file_name | security_result.detection_fields.SuspiciousFileName.value | grok을 사용하여 알림 로그의 Alertdescription 필드에서 추출됩니다. |
| Jobid | principal.process.pid | 이벤트 또는 알림 로그의 Jobid 필드에서 직접 매핑됩니다. |
| media_agent | security_result.detection_fields.MediaAgent.value | grok을 사용하여 알림 로그의 Alertdescription 필드에서 추출됩니다. |
| no_of_files_created | security_result.detection_fields.no_of_files_created.value | grok을 사용하여 알림 로그의 Alertdescription 필드에서 추출됩니다. |
| no_of_files_deleted | security_result.detection_fields.no_of_files_deleted.value | grok을 사용하여 알림 로그의 Alertdescription 필드에서 추출됩니다. |
| no_of_files_modified | security_result.detection_fields.no_of_files_modified.value | grok을 사용하여 알림 로그의 Alertdescription 필드에서 추출됩니다. |
| no_of_files_renamed | security_result.detection_fields.no_of_files_renamed.value | grok을 사용하여 알림 로그의 Alertdescription 필드에서 추출됩니다. |
| Occurrencetime | metadata.event_timestamp | 이벤트 로그의 Occurrencetime 필드에서 파싱되어 타임스탬프로 변환됩니다. |
| 작업 | security_result.detection_fields.Operation.value | 감사 로그의 Operation 필드에서 직접 매핑됩니다. |
| Opid | security_result.detection_fields.Opid.value | 감사 로그의 Opid 필드에서 직접 매핑됩니다. |
| 프로그램 | principal.application | 이벤트 로그의 Program 필드에서 직접 매핑됩니다. |
| Severitylevel | security_result.severity | 감사 로그의 Severitylevel 필드에서 매핑됩니다. UDM 심각도 수준 (INFORMATIONAL, HIGH, LOW, CRITICAL)으로 변환됩니다. |
| 유형 | security_result.detection_fields.Type.value | 알림 로그의 Alertdescription 필드에서 추출된 Type 필드에서 직접 매핑됩니다. |
| url | network.http.referral_url | 알림 로그의 Alertdescription 필드에서 추출된 url 필드에서 직접 매핑됩니다. |
| 사용자 이름 | principal.user.userid | 감사 로그의 Username 필드에서 직접 매핑됩니다. 사용자 이름이 Administrator인 경우 principal.user.user_role 필드가 대신 ADMINISTRATOR로 설정됩니다. |
| - | metadata.vendor_name | 이 UDM 필드는 원시 로그에서 가져오지 않습니다. COMMVAULT로 설정됩니다. |
| - | metadata.product_name | 이 UDM 필드는 원시 로그에서 가져오지 않습니다. COMMVAULT_COMMCELL로 설정됩니다. |
| - | metadata.log_type | 이 UDM 필드는 원시 로그에서 가져오지 않습니다. COMMVAULT_COMMCELL로 설정됩니다. |
| - | metadata.event_type | 이 UDM 필드는 원시 로그에서 가져오지 않습니다. Client 필드가 있으면 STATUS_UPDATE로 설정되고, 그렇지 않으면 GENERIC_EVENT로 설정됩니다. |
도움이 더 필요하신가요? 커뮤니티 회원 및 Google SecOps 전문가에게 문의하여 답변을 받으세요.