# How do i pass relative configuration path from CLI to filebeat?

**URL:** <https://discuss.elastic.co/t/how-do-i-pass-relative-configuration-path-from-cli-to-filebeat/96913>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [August 14, 2017, 6:59am UTC](https://discuss.elastic.co/t/how-do-i-pass-relative-configuration-path-from-cli-to-filebeat/96913 "2017-08-14T06:59:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![hasan\_sharekhan](https://avatars.discourse-cdn.com/v4/letter/h/eada6e/32.png) [@hasan\_sharekhan](https://discuss.elastic.co/u/hasan_sharekhan)\
**Post date:** [August 14, 2017, 6:59am UTC](https://discuss.elastic.co/t/how-do-i-pass-relative-configuration-path-from-cli-to-filebeat/96913/1 "2017-08-14T06:59:04Z")

</div>

I want to send relative configuration path from CLI to filebeat

> d:\uat\beats\filebeat550\config\myappserver folder have filebeat.yml

Currently I am using

> filebeat -path.config=d:\uat\beats\filebeat550\config\myappserver

instead of using the above command, i tried to use the below alternatives but i didnt worked for me.

> filebeat -path.config=config\myappserver  
> or  
> filebeat -path.config=${path.home}\config\myappserver

Pls help.

---

<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:** [September 14, 2017, 7:17am UTC](https://discuss.elastic.co/t/how-do-i-pass-relative-configuration-path-from-cli-to-filebeat/96913/3 "2017-09-14T07:17:58Z")

</div>

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