- 필수 기능
- 시작하기
- Glossary
- 표준 속성
- Guides
- Agent
- 통합
- 개방형텔레메트리
- 개발자
- Administrator's Guide
- API
- Datadog Mobile App
- CoScreen
- Cloudcraft
- 앱 내
- 서비스 관리
- 인프라스트럭처
- 애플리케이션 성능
- APM
- Continuous Profiler
- 스팬 시각화
- 데이터 스트림 모니터링
- 데이터 작업 모니터링
- 디지털 경험
- 소프트웨어 제공
- 보안
- AI Observability
- 로그 관리
- 관리
Supported OS
Zeek is a platform for network security monitoring. It interprets what it sees and creates compact, high-fidelity transaction logs, and file content. It can create fully customized output, suitable for manual review on disk or in a more analyst-friendly tool like a security and information event management (SIEM) system.
This integration ingests the following logs:
Visualize detailed insights into network connections, DNS and DHCP activity, detailed network protocol analysis, file analysis and certificates, security detection and observation, compliance monitoring through the out-of-the-box dashboards.
To install the Zeek integration, run the following Agent installation command and the steps below. For more information, see the Integration Management documentation.
Note: This step is not necessary for Agent version >= 7.52.0.
Linux command
sudo -u dd-agent -- datadog-agent integration install datadog-zeek==1.0.0
/opt/zeek/bin/zkg install corelight/json-streaming-logs
echo -e "\n# Load ZKG packages\n@load packages" >> /opt/zeek/share/zeek/site/local.zeek
/opt/zeek/bin/zeekctl install
/opt/zeek/bin/zeekctl restart
Collecting logs is disabled by default in the Datadog Agent. Enable it in datadog.yaml
:
logs_enabled: true
Add this configuration block to your zeek.d/conf.yaml
file to start collecting your Zeek logs.
See the sample zeek.d/conf.yaml for available configuration options.
logs:
- type: file
path: /opt/zeek/logs/current/*.log
exclude_paths:
- /opt/zeek/logs/current/*.*.log
service: zeek
source: zeek
Note: Include the log file’s paths within the exclude_paths
parameter to prevent the ingestion of unsupported or undesired log files during the monitoring process.
# Example of excluded paths
exclude_paths:
- /opt/zeek/logs/current/ntlm.log
- /opt/zeek/logs/current/radius.log
- /opt/zeek/logs/current/rfb.log
Collecting logs is disabled by default in the Datadog Agent. Enable it in datadog.yaml:
logs_enabled: true
Add this configuration block to your zeek.d/conf.yaml
file to start collecting your logs.
logs:
- type: tcp
port: <PORT>
service: corelight
source: zeek
Configuring Syslog Message Forwarding from corelight
Run the Agent’s status subcommand and look for zeek
under the Checks section.
The Zeek integration collects following log-types.
Format | Event Types |
---|---|
Opensource Zeek - JSON Format | conn, dhcp, dns, ftp, http, ntp, rdp, smtp, snmp, socks, ssh, ssl, syslog, tunnel, files, pe, intel, notice, signatures, traceroute, known-certs, known-modbus, known-services, known-hosts, software, x509, dpd, weird, captureloss, reporter, ldap, ldap-search, smb-files, smb-mappings |
Corelight Zeek - Syslog RFC 3164 (Legacy) Format | conn, dhcp, dns, ftp, http, ntp, rdp, smtp, snmp, socks, ssh, ssl, syslog, tunnel, files, pe, intel, notice, signatures, traceroute, known-certs, known-modbus, known-services, known-hosts, software, x509, dpd, weird, captureloss, reporter, ldap, ldap-search, smb-files, smb-mappings, conn-long, conn-red, encrypted-dns, generic-dns-tunnels, smtp-links, suricata-corelight |
The Zeek integration does not include any metrics.
The Zeek integration does not include any events.
The Zeek integration does not include any service checks.
If you see a Permission denied error while monitoring the log files, give the dd-agent
user read permission on them.
sudo chown -R dd-agent:dd-agent /opt/zeek/current/
Permission denied while port binding:
If you see a Permission denied error while port binding in the Agent logs, see the following instructions:
Binding to a port number under 1024 requires elevated permissions. Grant access to the port using the setcap
command:
sudo setcap CAP_NET_BIND_SERVICE=+ep /opt/datadog-agent/bin/agent/agent
Verify the setup is correct by running the getcap
command:
sudo getcap /opt/datadog-agent/bin/agent/agent
With the expected output:
/opt/datadog-agent/bin/agent/agent = cap_net_bind_service+ep
Note: Re-run this setcap
command every time you upgrade the Agent.
Data is not being collected:
Make sure that traffic is bypassed from the configured port if the firewall is enabled.
Port already in use:
If you see the Port <PORT-NO> Already in Use error, see the following instructions. The example below is for PORT-NO = 514:
On systems using Syslog, if the Agent listens for Zeek logs on port 514, the following error can appear in the Agent logs: Can't start UDP forwarder on port 514: listen udp :514: bind: address already in use
.
This error occurs because by default, Syslog listens on port 514. To resolve this error, take one of the following steps:
For any further assistance, contact Datadog support.