# Filebeat: Exiting: Failed to start crawler: creating module reloader failed: string value is not set accessing 'connection\_string'

**URL:** <https://discuss.elastic.co/t/filebeat-exiting-failed-to-start-crawler-creating-module-reloader-failed-string-value-is-not-set-accessing-connection-string/276552>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [June 21, 2021, 2:30pm UTC](https://discuss.elastic.co/t/filebeat-exiting-failed-to-start-crawler-creating-module-reloader-failed-string-value-is-not-set-accessing-connection-string/276552 "2021-06-21T14:30:59Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![riahc3](https://avatars.discourse-cdn.com/v4/letter/r/d6d6ee/32.png) [@riahc3](https://discuss.elastic.co/u/riahc3)\
**Post date:** [June 21, 2021, 2:30pm UTC](https://discuss.elastic.co/t/filebeat-exiting-failed-to-start-crawler-creating-module-reloader-failed-string-value-is-not-set-accessing-connection-string/276552/1 "2021-06-21T14:30:59Z")

</div>

Hello

Im suddenly getting this error in Filebeat.

Im not sure really where to look at I wasnt getting this error before.

Any ideas?

Thank you

---

<div class="post-metadata">

**Author:** ![Degru](https://avatars.discourse-cdn.com/v4/letter/d/ec9cab/32.png) [@Degru](https://discuss.elastic.co/u/Degru)\
**Post date:** [June 22, 2021, 12:42am UTC](https://discuss.elastic.co/t/filebeat-exiting-failed-to-start-crawler-creating-module-reloader-failed-string-value-is-not-set-accessing-connection-string/276552/2 "2021-06-22T00:42:24Z")

</div>

I have upgraded my elastic cloud deployment and the filebeat agent to 7.13.2 today and encounter the same issue now as @riahc3 - help would be greatly appreciated, everything was working fine before the update.

```auto
2021-06-22T13:08:43.862Z INFO [azure-eventhub input] azureeventhub/input.go:94 Initialized azure-eventhub input. {"connection string": "Endpoint=sb://fn-aurora-nonprod-frankfurt.servicebus.windows.net/"}
2021-06-22T13:08:43.862Z ERROR [reload] cfgfile/list.go:99 Error creating runner from config: failed to create input: reading azure-eventhub input config: string value is not set accessing 'connection_string'

```

This is the actual debug log output that reoccurs every ~10 seconds. If necessary, I can also provide the full azure.yml file.

---

<div class="post-metadata">

**Author:** ![riahc3](https://avatars.discourse-cdn.com/v4/letter/r/d6d6ee/32.png) [@riahc3](https://discuss.elastic.co/u/riahc3)\
**Post date:** [June 22, 2021, 7:27am UTC](https://discuss.elastic.co/t/filebeat-exiting-failed-to-start-crawler-creating-module-reloader-failed-string-value-is-not-set-accessing-connection-string/276552/3 "2021-06-22T07:27:49Z")

</div>

Im on 7.10.x

---

<div class="post-metadata">

**Author:** ![joecullin.skout](https://avatars.discourse-cdn.com/v4/letter/j/e0b2c6/32.png) [@joecullin.skout](https://discuss.elastic.co/u/joecullin.skout)\
**Post date:** [July 2, 2021, 2:33am UTC](https://discuss.elastic.co/t/filebeat-exiting-failed-to-start-crawler-creating-module-reloader-failed-string-value-is-not-set-accessing-connection-string/276552/4 "2021-07-02T02:33:39Z")

</div>

I'm getting the same error on 7.13.2. When I revert to 7.10.0 I don't get the error.

Just like the parent comment, my logs show that filebeat is reading a non-empty value for connection\_string, and then the logs show an error which seems so indicate the value is empty.

---

<div class="post-metadata">

**Author:** ![Degru](https://avatars.discourse-cdn.com/v4/letter/d/ec9cab/32.png) [@Degru](https://discuss.elastic.co/u/Degru)\
**Post date:** [July 2, 2021, 4:45am UTC](https://discuss.elastic.co/t/filebeat-exiting-failed-to-start-crawler-creating-module-reloader-failed-string-value-is-not-set-accessing-connection-string/276552/5 "2021-07-02T04:45:57Z")

</div>

@joecullin.skout  
Could you try editing your azure.yml so unused logs are explicitly disabled for each instance of the azure module?  
F.e. like in my example here:

```auto
- module: azure
  activitylogs:
    enabled: true
    var:
      eventhub: "fn-aurora-dev-west-operational-logs"
      consumer_group: "$Default"
      connection_string: "Endpoint=xxx"
      storage_account: "xxx"
      storage_account_key: "xxx"
      resource_manager_endpoint: ""
  auditlogs:
    enabled: true
    var:
       eventhub: "fn-aurora-dev-west-auditlogs"
       consumer_group: "$Default"
       connection_string: "Endpoint=xxx"
       storage_account: "xxx"
       storage_account_key: "xxx"
       resource_manager_endpoint: ""
  platformlogs:
    enabled: false
  signinlogs:
    enabled: false

```

Adding the last four lines fixed the issue for me.

---

<div class="post-metadata">

**Author:** ![joecullin.skout](https://avatars.discourse-cdn.com/v4/letter/j/e0b2c6/32.png) [@joecullin.skout](https://discuss.elastic.co/u/joecullin.skout)\
**Post date:** [July 6, 2021, 7:27pm UTC](https://discuss.elastic.co/t/filebeat-exiting-failed-to-start-crawler-creating-module-reloader-failed-string-value-is-not-set-accessing-connection-string/276552/6 "2021-07-06T19:27:14Z")

</div>

Thanks @Degru , that worked for me!

We're using signinlogs, auditlogs, and activitylogs, so I added the following to explicitly disable platformlogs.

> [@Degru](#):
>
> ```auto
> platformlogs:
> enabled: false
> 
> ```

---

<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 3, 2021, 9:28pm UTC](https://discuss.elastic.co/t/filebeat-exiting-failed-to-start-crawler-creating-module-reloader-failed-string-value-is-not-set-accessing-connection-string/276552/7 "2021-08-03T21:28:00Z")

</div>

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