Error running filebeat

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

{"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

# =================================== 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"

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