# Zeek

Copy as Markdown[Open in ChatGPT](https://chatgpt.com/?q=Read%20https%3A%2F%2Fcoralogix.com%2Fdocs%2Fintegrations%2Fsecurity%2Fzeek.md%20and%20help%20me%20with%20my%20question%20about%20this%20Coralogix%20documentation%20page.)[Open in Claude](https://claude.ai/new?q=Read%20https%3A%2F%2Fcoralogix.com%2Fdocs%2Fintegrations%2Fsecurity%2Fzeek.md%20and%20help%20me%20with%20my%20question%20about%20this%20Coralogix%20documentation%20page.)

In order to ship Zeek logs to Coralogix, we need to first install Filebeat.

If you haven't already, you can follow our documentation here: <https://coralogix.com/integrations/filebeat/>

## Installation[​](#installation "Direct link to Installation")

First, enable the Filebeat module for Zeek:

```
filebeat modules enable zeek
```

## Configuration[​](#configuration "Direct link to Configuration")

You need to configure the Zeek module file **zeek.yml**. Usually this file is located in ***/etc/filebeat/modules.d/***

In this configuration, you need to add the base directory where Zeek saves the logs usually, in this example replacing **/opt/zeek/logs/current** with the path of your Zeek scan results.

Here is an example of **zeek.yml**:

```
# Module: zeek

# Docs: /guide/en/beats/filebeat/7.6/filebeat-module-zeek.html

- module: zeek

 capture_loss:

   enabled: true

   var.paths: ["/opt/zeek/logs/current/capture_loss.log"]

 connection:

   enabled: true

   var.paths: ["/opt/zeek/logs/current/conn.log"]

 dce_rpc:

   enabled: true

   var.paths: ["/opt/zeek/logs/current/dce_rpc.log"]

 dhcp:

   enabled: true

   var.paths: ["/opt/zeek/logs/current/dhcp.log"]

 dnp3:

   enabled: true

   var.paths: ["/opt/zeek/logs/current/dnp3.log"]

 dns:

   enabled: true

   var.paths: ["/opt/zeek/logs/current/dns.log"]

 dpd:

   enabled: true

   var.paths: ["/opt/zeek/logs/current/dpd.log"]

 files:

   enabled: true

   var.paths: ["/opt/zeek/logs/current/files.log"]

 ftp:

   enabled: true

   var.paths: ["/opt/zeek/logs/current/ftp.log"]

 http:

   enabled: true

   var.paths: ["/opt/zeek/logs/current/http.log"]

 intel:

   enabled: true

   var.paths: ["/opt/zeek/logs/current/intel.log"]

 irc:

   enabled: true

   var.paths: ["/opt/zeek/logs/current/irc.log"]

 kerberos:

   enabled: true

   var.paths: ["/opt/zeek/logs/current/kerberos.log"]

 modbus:

   enabled: true

   var.paths: ["/opt/zeek/logs/current/modbus.log"]

 mysql:

   enabled: true

   var.paths: ["/opt/zeek/logs/current/mysql.log"]

 notice:

   enabled: true

   var.paths: ["/opt/zeek/logs/current/notice.log"]

 ntlm:

   enabled: true

   var.paths: ["/opt/zeek/logs/current/ntlm.log"]

 ocsp:

   enabled: true

   var.paths: ["/opt/zeek/logs/current/ocsp.log"]

 pe:

   enabled: true

   var.paths: ["/opt/zeek/logs/current/pe.log"]

 radius:

   enabled: true

   var.paths: ["/opt/zeek/logs/current/radius.log"]

 rdp:

   enabled: true

   var.paths: ["/opt/zeek/logs/current/rdp.log"]

 rfb:

   enabled: true

   var.paths: ["/opt/zeek/logs/current/rfb.log"]

 #  signatures:

 #    enabled: true

   #    var.paths: ["/opt/zeek/logs/current/signatures.log"]

 sip:

   enabled: true

   var.paths: ["/opt/zeek/logs/current/sip.log"]

 smb_cmd:

   enabled: true

   var.paths: ["/opt/zeek/logs/current/smb_cmd.log"]

 smb_files:

   enabled: true

   var.paths: ["/opt/zeek/logs/current/smb_files.log"]

 smb_mapping:

   enabled: true

   var.paths: ["/opt/zeek/logs/current/smb_mapping.log"]

 smtp:

   enabled: true

   var.paths: ["/opt/zeek/logs/current/smtp.log"]

 snmp:

   enabled: true

   var.paths: ["/opt/zeek/logs/current/snmp.log"]

 socks:

   enabled: true

   var.paths: ["/opt/zeek/logs/current/socks.log"]

 ssh:

   enabled: true

   var.paths: ["/opt/zeek/logs/current/ssh.log"]

 ssl:

   enabled: true

   var.paths: ["/opt/zeek/logs/current/ssl.log"]

 stats:

   enabled: true

   var.paths: ["/opt/zeek/logs/current/stats.log"]

 syslog:

   enabled: true

   var.paths: ["/opt/zeek/logs/current/syslog.log"]

 traceroute:

   enabled: true

   var.paths: ["/opt/zeek/logs/current/traceroute.log"]

 tunnel:

   enabled: true

   var.paths: ["/opt/zeek/logs/current/tunnel.log"]

 weird:

   enabled: true

   var.paths: ["/opt/zeek/logs/current/weird.log"]

 x509:

   enabled: true

   var.paths: ["/opt/zeek/logs/current/x509.log"]
```

This way every time a Zeek scan is executed, Filebeat will ship logs to Coralogix.
