# Error running filebeat

**URL:** <https://discuss.elastic.co/t/error-running-filebeat/334116>\
**Category:** Beats\
**Created:** [May 23, 2023, 12:15pm UTC](https://discuss.elastic.co/t/error-running-filebeat/334116 "2023-05-23T12:15:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![okasha](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/okasha/32/121327_2.png) [@okasha](https://discuss.elastic.co/u/okasha)\
**Post date:** [May 23, 2023, 12:15pm UTC](https://discuss.elastic.co/t/error-running-filebeat/334116/1 "2023-05-23T12:15:55Z")

</div>

hello guys,

I'm getting this error when running this the filebeat 8.7.1 on my local machine (both Elasticsearch and kibana are running)  
when running `.\filebeat.exe setup -e` on power shell

i couldn't paste the whole file log because it exceeded the text length limit so i pasted only the error log

```auto
{"log.level":"error","@timestamp":"2023-05-23T15:02:55.046+0300","log.origin":{"file.name":"cfgfile/reload.go","file.line":258},"message":"Error loading configuration files: 1 error: Unable to hash given config: missing field accessing '0.firewall' (source:'C:\\Filebeat\\modules.d\\gcp.yml.disabled')","service.name":"filebeat","ecs.version":"1.6.0"}

```

only mongodb module is enabled

filbeat.yml

```auto
# =================================== Kibana ===================================

# Starting with Beats version 6.0.0, the dashboards are loaded via the Kibana API.
# This requires a Kibana endpoint configuration.
setup.kibana:

  # Kibana Host
  # Scheme and port can be left out and will be set to the default (http and 5601)
  # In case you specify and additional path, the scheme is required: http://localhost:5601/path
  # IPv6 addresses should always be defined as: https://[2001:db8::1]:5601
  host: "localhost:5601"

  # Kibana Space ID
  # ID of the Kibana Space into which the dashboards should be loaded. By default,
  # the Default Space will be used.
  #space.id:
# ---------------------------- Elasticsearch Output ----------------------------
output.elasticsearch:
  # Array of hosts to connect to.
  hosts: ["localhost:9200"]

  # Protocol - either `http` (default) or `https`.
  #protocol: "https"

  # Authentication credentials - either API key or username/password.
  #api_key: "id:api_key"
  username: "elastic"
  password: "NaqzxTo_9rUmK=A=2a0c"

```

---

<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:** [June 20, 2023, 12:16pm UTC](https://discuss.elastic.co/t/error-running-filebeat/334116/2 "2023-06-20T12:16:56Z")

</div>

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