# Kafka output config through Central Management is missing topic name

**URL:** <https://discuss.elastic.co/t/kafka-output-config-through-central-management-is-missing-topic-name/158830>\
**Category:** Beats\
**Created:** [November 29, 2018, 10:09pm UTC](https://discuss.elastic.co/t/kafka-output-config-through-central-management-is-missing-topic-name/158830 "2018-11-29T22:09:52Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![gmbehan](https://avatars.discourse-cdn.com/v4/letter/g/f17d59/32.png) [@gmbehan](https://discuss.elastic.co/u/gmbehan)\
**Post date:** [November 29, 2018, 10:09pm UTC](https://discuss.elastic.co/t/kafka-output-config-through-central-management-is-missing-topic-name/158830/1 "2018-11-29T22:09:52Z")

</div>

When adding a Kafka output config, I can add the hostname but not the Kafka topic name. The config is downloaded successfully by the beat but the logs show an error due to the missing topic config.

management.yml

configok: false  
configs:

- type: metricbeat.modules  
blocks:
  - raw:  
module: system  
period: 10s

- type: output  
blocks:
  - raw:  
kafka:  
hosts:  
- myserver:9092  
output: kafka

Metricbeat log:

2018-11-29T15:03:50.940-0700 WARN [cfgwarn] management/manager.go:100 BETA: Central management is enabled  
2018-11-29T15:03:50.940-0700 INFO [centralmgmt] management/manager.go:101 Starting central management service  
2018-11-29T15:03:50.940-0700 INFO [monitoring] log/log.go:117 Starting metrics logging every 30s  
2018-11-29T15:03:51.934-0700 INFO [centralmgmt] management/manager.go:176 New configurations retrieved  
2018-11-29T15:03:51.934-0700 INFO [centralmgmt] management/manager.go:213 Applying settings for metricbeat.modules  
2018-11-29T15:03:51.942-0700 INFO [centralmgmt] management/manager.go:213 Applying settings for output  
2018-11-29T15:03:51.943-0700 ERROR [centralmgmt] management/manager.go:234 missing required 'topic' or 'topics' in kafka  
2018-11-29T15:03:51.943-0700 INFO management/manager.go:205 Failed to apply settings, reporting error on next fetch  
2018-11-29T15:03:51.943-0700 INFO [centralmgmt] management/manager.go:149 Storing new state

---

<div class="post-metadata">

**Author:** ![kvch](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kvch/32/72058_2.png) [@kvch](https://discuss.elastic.co/u/kvch)\
**Post date:** [November 30, 2018, 8:15am UTC](https://discuss.elastic.co/t/kafka-output-config-through-central-management-is-missing-topic-name/158830/2 "2018-11-30T08:15:42Z")

</div>

Could you please format your configuration using `</>`?

---

<div class="post-metadata">

**Author:** ![gmbehan](https://avatars.discourse-cdn.com/v4/letter/g/f17d59/32.png) [@gmbehan](https://discuss.elastic.co/u/gmbehan)\
**Post date:** [November 30, 2018, 3:28pm UTC](https://discuss.elastic.co/t/kafka-output-config-through-central-management-is-missing-topic-name/158830/3 "2018-11-30T15:28:24Z")

</div>

You'll have to elaborate on that request. Format my configuration where? In the management.yml? Isn't that automatically generated by the Beat?

---

<div class="post-metadata">

**Author:** ![gmbehan](https://avatars.discourse-cdn.com/v4/letter/g/f17d59/32.png) [@gmbehan](https://discuss.elastic.co/u/gmbehan)\
**Post date:** [December 7, 2018, 5:16pm UTC](https://discuss.elastic.co/t/kafka-output-config-through-central-management-is-missing-topic-name/158830/4 "2018-12-07T17:16:24Z")

</div>

Should I just open an issue for this?

---

<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:** [January 4, 2019, 7:16pm UTC](https://discuss.elastic.co/t/kafka-output-config-through-central-management-is-missing-topic-name/158830/5 "2019-01-04T19:16:26Z")

</div>

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