# Zeek Module - Custom Zeek Install Location

**URL:** <https://discuss.elastic.co/t/zeek-module-custom-zeek-install-location/191253>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [July 18, 2019, 4:56pm UTC](https://discuss.elastic.co/t/zeek-module-custom-zeek-install-location/191253 "2019-07-18T16:56:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![MrTrav](https://avatars.discourse-cdn.com/v4/letter/m/e19b73/32.png) [@MrTrav](https://discuss.elastic.co/u/MrTrav)\
**Post date:** [July 18, 2019, 4:56pm UTC](https://discuss.elastic.co/t/zeek-module-custom-zeek-install-location/191253/1 "2019-07-18T16:56:29Z")

</div>

I have installed Zeek at a custom location, how can I configure the Zeek module in FileBeats to collect the logs from the proper log location?

---

<div class="post-metadata">

**Author:** ![jsoriano](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jsoriano/32/27920_2.png) [@jsoriano](https://discuss.elastic.co/u/jsoriano)\
**Post date:** [July 18, 2019, 5:11pm UTC](https://discuss.elastic.co/t/zeek-module-custom-zeek-install-location/191253/2 "2019-07-18T17:11:01Z")

</div>

Hi @MrTrav,

You can customize the paths used by filebeat by setting the `var.paths` option on each fileset. If this is not working for you, could you paste the configuration you are using?

---

<div class="post-metadata">

**Author:** ![MrTrav](https://avatars.discourse-cdn.com/v4/letter/m/e19b73/32.png) [@MrTrav](https://discuss.elastic.co/u/MrTrav)\
**Post date:** [July 19, 2019, 4:27pm UTC](https://discuss.elastic.co/t/zeek-module-custom-zeek-install-location/191253/3 "2019-07-19T16:27:57Z")

</div>

Here is my configuration, not seeing anything output to console.

```
filebeat.inputs:

- type: log

  enabled: false

  paths:
    - /opt/nsm/zeek/logs/current/*

filebeat.config.modules:
  path: ${path.config}/modules.d/*.yml

  reload.enabled: false

setup.template.settings:
  index.number_of_shards: 1

#output.elasticsearch:
  #hosts: ["localhost:9200"]

processors:
  - add_host_metadata: ~
  - add_cloud_metadata: ~

filebeat.modules:
- module: zeek
  # All logs
  connection:
    enabled: true
  dns:
    enabled: true
  http:
    enabled: true
  files:
    enabled: true
  ssl:
    enabled: true
  notice:
    enabled: true

    var.paths:
      - /opt/nsm/zeek/logs/current/conn.log

output.console:
  pretty: true
```

---

<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:** [August 16, 2019, 4:27pm UTC](https://discuss.elastic.co/t/zeek-module-custom-zeek-install-location/191253/4 "2019-08-16T16:27:58Z")

</div>

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