# Problem with config.yml

**URL:** <https://discuss.elastic.co/t/problem-with-config-yml/32849>\
**Category:** Beats\
**Created:** [October 23, 2015, 12:19pm UTC](https://discuss.elastic.co/t/problem-with-config-yml/32849 "2015-10-23T12:19:13Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nubber](https://avatars.discourse-cdn.com/v4/letter/n/9e8a1a/32.png) [@Nubber](https://discuss.elastic.co/u/Nubber)\
**Post date:** [October 23, 2015, 12:19pm UTC](https://discuss.elastic.co/t/problem-with-config-yml/32849/1 "2015-10-23T12:19:13Z")

</div>

## Hi, I hope that my problem could be solved. I want to output topbeat to a file. But it is not possible for me to use file output. Please see configuration file:

input:  
period: 10  
procs: [".\*"]

## output: file: enabled: true path: "/tmp/topbeat/" filename: topbeat rotate\_every\_kb: 1000 number\_of\_files: 7

## command:

## ./topbeat -test -c .yml -v

## output:

## geolite.go:61: INFO Loaded GeoIP data from: /usr/share/GeoIP/GeoLiteCity.dat publish.go:222: WARN No output is defined to store the topology. The server fields might not be filled. publish.go:234: INFO No shipper name configured, using hostname 'localhost.localdomain'

## version;

## ./topbeat --version topbeat version 1.0.0-beta4 (amd64)

Thank you in advance

---

<div class="post-metadata">

**Author:** ![ruflin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ruflin/32/3116_2.png) [@ruflin](https://discuss.elastic.co/u/ruflin)\
**Post date:** [October 26, 2015, 7:52am UTC](https://discuss.elastic.co/t/problem-with-config-yml/32849/2 "2015-10-26T07:52:15Z")

</div>

@Nubber The output here is a little bit confusing, as this is related to the Topology. Your config looks correct and your files should appear in the directory /tmp/topbbeat. Are there any files in the directory after running the above command?

To improve the above warning I created the issue here: [https://github.com/elastic/libbeat/issues/210](https://github.com/elastic/libbeat/issues/210)

---

<div class="post-metadata">

**Author:** ![Nubber](https://avatars.discourse-cdn.com/v4/letter/n/9e8a1a/32.png) [@Nubber](https://discuss.elastic.co/u/Nubber)\
**Post date:** [October 26, 2015, 9:25am UTC](https://discuss.elastic.co/t/problem-with-config-yml/32849/3 "2015-10-26T09:25:22Z")

</div>

Hi Ruflin,

no files are inside directory /tmp/topbeat.

---

<div class="post-metadata">

**Author:** ![ruflin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ruflin/32/3116_2.png) [@ruflin](https://discuss.elastic.co/u/ruflin)\
**Post date:** [October 26, 2015, 9:28am UTC](https://discuss.elastic.co/t/problem-with-config-yml/32849/4 "2015-10-26T09:28:02Z")

</div>

@Nubber Just spotted that you use the -test flag when running topbeat. This will only test the config file and will directly exit. Can you remove the -test flag and try again?

---

<div class="post-metadata">

**Author:** ![Nubber](https://avatars.discourse-cdn.com/v4/letter/n/9e8a1a/32.png) [@Nubber](https://discuss.elastic.co/u/Nubber)\
**Post date:** [October 26, 2015, 11:00am UTC](https://discuss.elastic.co/t/problem-with-config-yml/32849/5 "2015-10-26T11:00:22Z")

</div>

> [@ruflin](#):
>
> st spotted that you use the -test flag when running topbeat. This will only test the config file and will directly exit. Can you remove the -test flag and try again?

Oh yes, you are right.  
There is now the file und /tmp/topbeat  
But the message that comes up that there would be no shipper used, is very irritating.

Hence the issue 210 should be kept open and given out better information about that. Thank you.

---

<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:** [July 5, 2017, 9:58pm UTC](https://discuss.elastic.co/t/problem-with-config-yml/32849/6 "2017-07-05T21:58:35Z")

</div>


