# Heartbeat configuration file syntax

**URL:** <https://discuss.elastic.co/t/heartbeat-configuration-file-syntax/173591>\
**Category:** Beats\
**Tags:** heartbeat\
**Created:** [March 23, 2019, 10:52am UTC](https://discuss.elastic.co/t/heartbeat-configuration-file-syntax/173591 "2019-03-23T10:52:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![George\_Wainwright](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/george_wainwright/32/51054_2.png) [@George\_Wainwright](https://discuss.elastic.co/u/George_Wainwright)\
**Post date:** [March 23, 2019, 10:52am UTC](https://discuss.elastic.co/t/heartbeat-configuration-file-syntax/173591/1 "2019-03-23T10:52:52Z")

</div>

Can heartbeat recognize such line in configuration yaml file?

```
- {type: http, urls: ['https://google.com'], schedule: '@every
    1m'}

```

I checked yaml syntax of this file by running  
`python -c 'import yaml, sys; print(yaml.safe_load(sys.stdin))' < /opt/heartbeat/heartbeat.yml`

And it loaded it fine.

---

<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:** [March 25, 2019, 11:03pm UTC](https://discuss.elastic.co/t/heartbeat-configuration-file-syntax/173591/2 "2019-03-25T23:03:43Z")

</div>

yes, it's YAML and processed as such.

---

<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:** [April 22, 2019, 11:03pm UTC](https://discuss.elastic.co/t/heartbeat-configuration-file-syntax/173591/3 "2019-04-22T23:03:44Z")

</div>

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