# Filebeat with GCP module failed to start

**URL:** <https://discuss.elastic.co/t/filebeat-with-gcp-module-failed-to-start/293977>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [January 11, 2022, 6:46am UTC](https://discuss.elastic.co/t/filebeat-with-gcp-module-failed-to-start/293977 "2022-01-11T06:46:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![NohimX](https://avatars.discourse-cdn.com/v4/letter/n/b38774/32.png) [@NohimX](https://discuss.elastic.co/u/NohimX)\
**Post date:** [January 11, 2022, 6:46am UTC](https://discuss.elastic.co/t/filebeat-with-gcp-module-failed-to-start/293977/1 "2022-01-11T06:46:02Z")

</div>

I tried to configure filebeat GCP module to get audit logs from Google Cloud, and it failed to start.

```auto
Failed to start crawler: creating module reloader failed: error checking input configuration: no authentication credentials were configured or detected (credentials_file, credentials_json, and application default credentials (ADC)) accessing config

```

Here is mine gcp.yml

```auto
- module: gcp
  audit:
    enabled: true
    var.project_id: my-id
    var.topic: export-topic
    var.subscription_name: export-topic-sub
    var.credentials_file: ${path.config}/my-id-8c1d1b7210a9.json

```

In the same time once i done config with filebeat.yml, in the input section, creds file working fine.

```auto
- type: gcp-pubsub
  project_id: my-id
  topic: export-topic
  subscription.name: export-topic-sub
  credentials_file: ${path.config}/my-id-8c1d1b7210a9.json

```

Anything i can do about it?

---

<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:** [February 8, 2022, 8:46am UTC](https://discuss.elastic.co/t/filebeat-with-gcp-module-failed-to-start/293977/2 "2022-02-08T08:46:23Z")

</div>

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