# Heartbeat configuration path not picking up when started

**URL:** https://discuss.elastic.co/t/heartbeat-configuration-path-not-picking-up-when-started/200883
**Category:** Beats
**Tags:** heartbeat
**Created:** [September 24, 2019, 1:54pm UTC](https://discuss.elastic.co/t/heartbeat-configuration-path-not-picking-up-when-started/200883 "2019-09-24T13:54:36Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Ryan\_Downey](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ryan_downey/32/35987_2.png) [@Ryan\_Downey](https://discuss.elastic.co/u/Ryan_Downey)
#### Post date: [September 24, 2019, 1:54pm UTC](https://discuss.elastic.co/t/heartbeat-configuration-path-not-picking-up-when-started/200883/1 "2019-09-24T13:54:36Z")

</div>

Platform: Windows  
Heartbeat 7.0.0

As we expand the amount of servers that were monitoring I've been trying to setup heartbeat to read from the monitors.d folder.

```auto
############################# Heartbeat ######################################

# Define a directory to load monitor definitions from. Definitions take the form
# of individual yaml files.
heartbeat.config.monitors:
  # Directory + glob pattern to search for configuration files
  #path: ${path.config}/monitors.d/*.yml
  path: D:\basefarm\hearbeat-oss-7.0.0-windows-x86_64\monitors.d\*.yml
  # If enabled, heartbeat will periodically check the config.monitors path for changes
  reload.enabled: true
  # How often to check for changes
  reload.period: 10s

```

**Not an error message but shouldnt this have the same path as directed above?**

```auto
2019-09-24T09:38:04.022-0400	INFO	instance/beat.go:571	Home path: [D:\basefarm\heartbeat-oss-7.0.0-windows-x86_64] Config path: [D:\basefarm\heartbeat-oss-7.0.0-windows-x86_64] Data path: [C:\ProgramData\heartbeat] Logs path: [C:\ProgramData\heartbeat\logs]

```

---

<div class="post-metadata">

### Author: ![Andrew\_Cholakian1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrew_cholakian1/32/3612_2.png) [@Andrew\_Cholakian1](https://discuss.elastic.co/u/Andrew_Cholakian1)
#### Post date: [September 24, 2019, 10:02pm UTC](https://discuss.elastic.co/t/heartbeat-configuration-path-not-picking-up-when-started/200883/2 "2019-09-24T22:02:03Z")

</div>

Nothing here is a red flag. The config path in the log message is correct, it's the directory that `heartbeat.yml` is in, but that can point to additional configs outside that path.

Do you see `Config reloader started` anywhere in your logs?

Everything here looks correct to be honest, so I'd expect this to work. Can you try running heartbeat with debug logging enabled? Also, does this pick up the configs after a full restart, or are only dynamic reloads not working?

Also, can you share the output of an `ls PATH/TO/monitors.d`

You can enable debug logging with the following in your heartbeat.yml

```auto
logging.level: debug

```

---

<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: [October 22, 2019, 10:02pm UTC](https://discuss.elastic.co/t/heartbeat-configuration-path-not-picking-up-when-started/200883/3 "2019-10-22T22:02:07Z")

</div>

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