# Filebeat on macOS documentation error, breaking change

**URL:** <https://discuss.elastic.co/t/filebeat-on-macos-documentation-error-breaking-change/316996>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [October 19, 2022, 12:48pm UTC](https://discuss.elastic.co/t/filebeat-on-macos-documentation-error-breaking-change/316996 "2022-10-19T12:48:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![maxried](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/maxried/32/112267_2.png) [@maxried](https://discuss.elastic.co/u/maxried)\
**Post date:** [October 19, 2022, 12:48pm UTC](https://discuss.elastic.co/t/filebeat-on-macos-documentation-error-breaking-change/316996/1 "2022-10-19T12:48:52Z")

</div>

Hi all,

I'm running filebeat on macOS. It starts as a launchd service. After upgrading from 7 to 8, the daemon didn't run. I investigated this issue, and found that its command-line included `--environment macos_service` which is still suggested by the [documentation](https://www.elastic.co/guide/en/beats/filebeat/8.4/command-line-options.html), and worked prior to the upgrade.  
Now it just makes the service die.

```auto
# /usr/local/filebeat/filebeat --environment macos_service
Error: invalid argument "macos_service" for "--environment" flag: 'macos_service' is not supported
[...]

```

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [October 19, 2022, 10:20pm UTC](https://discuss.elastic.co/t/filebeat-on-macos-documentation-error-breaking-change/316996/2 "2022-10-19T22:20:23Z")

</div>

Welcome to our community! 😃 And thanks for highlighting this.

It'd be great if you would open an issue on [Sign in to GitHub · GitHub](https://github.com/elastic/beats/issues/new/choose) for the team to dig into.

---

<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:** [November 17, 2022, 12:21am UTC](https://discuss.elastic.co/t/filebeat-on-macos-documentation-error-breaking-change/316996/3 "2022-11-17T00:21:20Z")

</div>

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