# Filebeat + zeekmodule to elastic + kibana

**URL:** https://discuss.elastic.co/t/filebeat-zeekmodule-to-elastic-kibana/205482
**Category:** Beats
**Tags:** beats-module, filebeat
**Created:** [October 28, 2019, 2:05pm UTC](https://discuss.elastic.co/t/filebeat-zeekmodule-to-elastic-kibana/205482 "2019-10-28T14:05:24Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![tmans1991](https://avatars.discourse-cdn.com/v4/letter/t/71e660/32.png) [@tmans1991](https://discuss.elastic.co/u/tmans1991)
#### Post date: [October 28, 2019, 2:05pm UTC](https://discuss.elastic.co/t/filebeat-zeekmodule-to-elastic-kibana/205482/1 "2019-10-28T14:05:24Z")

</div>

hi

im using a filebeat + zeekmodule machine to send .log files (written in JSON) to  
an elastic + kibana machine

i am sending conn.logg dns.log http.log files.log ssl.log and notice.log  
but i am not sending :

capture\_loss.log  
ntp.log  
smtp.log  
stdout.log  
kerberos.log  
radius.log  
snmp.log  
syslog.log  
dhcp.log  
known\_services.log  
reporter.log  
software.log  
weird.log  
mysql.log  
sip.log  
ssl.log  
x509.log  
dpd.log  
smb\_files.log  
stats.log  
ntlm.log  
smb\_mapping.log  
stderr.log

can these be send and parsed with the zeek module aswell to the elastic + kibana machine?

---

<div class="post-metadata">

### Author: ![Kaiyan\_Sheng](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kaiyan_sheng/32/38247_2.png) [@Kaiyan\_Sheng](https://discuss.elastic.co/u/Kaiyan_Sheng)
#### Post date: [November 1, 2019, 2:58pm UTC](https://discuss.elastic.co/t/filebeat-zeekmodule-to-elastic-kibana/205482/2 "2019-11-01T14:58:17Z")

</div>

Hi @tmans1991, thanks for posting your question here. The zeek module in Filebeat supports a lot of filesets, for example: capture\_loss, coonection, dce\_rpc, dhcp, dns and etc. If you only want to parse specific log type, you can do that by enable/disable filesets in zeek.yml:

```auto
- module: zeek
  capture_loss:
    enabled: false
  connection:
    enabled: true
  dce_rpc:
    enabled: false
  dhcp:
    enabled: false
  dnp3:
    enabled: false
  dns:
    enabled: true
  dpd:
    enabled: false
  files:
    enabled: true
  ftp:
    enabled: false
  http:
    enabled: true
  irc:
    enabled: false
  kerberos:
    enabled: false
  modbus:
    enabled: false
  mysql:
    enabled: false
  notice:
    enabled: true
  ntlm:
    enabled: false
  ocsp:
    enabled: false
  pe:
    enabled: false
  radius:
    enabled: false
  rdp:
    enabled: false
  rfb:
    enabled: false
  signatures:
    enabled: false
  sip:
    enabled: false
  smb_cmd:
    enabled: false
  smb_files:
    enabled: false
  smb_mapping:
    enabled: false
  smtp:
    enabled: false
  snmp:
    enabled: false
  socks:
    enabled: false
  ssh:
    enabled: false
  ssl:
    enabled: true
  stats:
    enabled: false
  syslog:
    enabled: false
  traceroute:
    enabled: false
  tunnel:
    enabled: false
  weird:
    enabled: false
  x509:
    enabled: false

```

---

<div class="post-metadata">

### Author: ![stcdarrell](https://avatars.discourse-cdn.com/v4/letter/s/a183cd/32.png) [@stcdarrell](https://discuss.elastic.co/u/stcdarrell)
#### Post date: [November 5, 2019, 7:12pm UTC](https://discuss.elastic.co/t/filebeat-zeekmodule-to-elastic-kibana/205482/3 "2019-11-05T19:12:25Z")

</div>

this is what i needed, thank you

---

<div class="post-metadata">

### Author: ![stcdarrell](https://avatars.discourse-cdn.com/v4/letter/s/a183cd/32.png) [@stcdarrell](https://discuss.elastic.co/u/stcdarrell)
#### Post date: [November 5, 2019, 11:15pm UTC](https://discuss.elastic.co/t/filebeat-zeekmodule-to-elastic-kibana/205482/4 "2019-11-05T23:15:41Z")

</div>

@Kaiyan_Sheng are you sure?  
i just tried this..

and i get this error: Exiting: "Fileset zeek/dhcp is configured but doesn't exist"

```
    - module: zeek
  # All logs
  connection:
    enabled: true
    var.path: ["/var/log/zeek/conn.log"]
  dns:
    enabled: true
    var.path: ["/var/log/zeek/dns.log"]
  http:
    enabled: true
    var.path: ["/var/log/zeek/httpd.log"]
  files:
    enabled: true
    var.path: ["/var/log/zeek/files.log"]
  ssl:
    enabled: true
    var.path: ["/var/log/zeek/ssl.log"]
  notice:
    enabled: true
    var.path: ["/var/log/zeek/notice.log"]
  dhcp:
    enabled: true
    var.paths: ["/var/log/zeek/dhcp.log"]
  stats:
    enabled: true
    var.paths: ["/var/log/zeek/stats.log"]

  # Set custom paths for the log files. If left empty,
    # Filebeat will choose the paths depending on your OS.
    #var.paths:
```

---

<div class="post-metadata">

### Author: ![stcdarrell](https://avatars.discourse-cdn.com/v4/letter/s/a183cd/32.png) [@stcdarrell](https://discuss.elastic.co/u/stcdarrell)
#### Post date: [November 6, 2019, 12:04am UTC](https://discuss.elastic.co/t/filebeat-zeekmodule-to-elastic-kibana/205482/5 "2019-11-06T00:04:24Z")

</div>

@Kaiyan_Sheng

i just dug through the filebeat folder.. if you look in  
/usr/share/filebeat/module/zeek

there is a folder for each "parser" (i guess thats the right word)  
there is currently only a parser for :

- connection
- dns
- files
- http
- notice
- ssl

i dont think it would be hard to write for the other files, but unfortunately they arent there.. i looked in the 7.4.1 folder.. i'd love for you to prove me wrong, i could REALLY use the other logs in es.

Darrell

---

<div class="post-metadata">

### Author: ![Kaiyan\_Sheng](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kaiyan_sheng/32/38247_2.png) [@Kaiyan\_Sheng](https://discuss.elastic.co/u/Kaiyan_Sheng)
#### Post date: [November 6, 2019, 4:06am UTC](https://discuss.elastic.co/t/filebeat-zeekmodule-to-elastic-kibana/205482/6 "2019-11-06T04:06:52Z")

</div>

Yep you are correct. We already added support for _some_ other files in [https://github.com/elastic/beats/pull/14150](https://github.com/elastic/beats/pull/14150). But this won't be released probably till 7.6 _unfortunately_. If there are other files you'd like we add support for, please feel free to open an issue in [github](https://github.com/elastic/beats/issues/new?template=feature-request.md)!

---

<div class="post-metadata">

### Author: ![stcdarrell](https://avatars.discourse-cdn.com/v4/letter/s/a183cd/32.png) [@stcdarrell](https://discuss.elastic.co/u/stcdarrell)
#### Post date: [November 7, 2019, 4:21pm UTC](https://discuss.elastic.co/t/filebeat-zeekmodule-to-elastic-kibana/205482/7 "2019-11-07T16:21:45Z")

</div>

thank you! i'm in no mad rush for those other files, but i am looking forward to them.  
thanks for the clarification

Darrell

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [December 5, 2019, 4:21pm UTC](https://discuss.elastic.co/t/filebeat-zeekmodule-to-elastic-kibana/205482/8 "2019-12-05T16:21:46Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
