# Is it possible to publish X-Pack metrics to Kafka instead of Elasticsearch

**URL:** <https://discuss.elastic.co/t/is-it-possible-to-publish-x-pack-metrics-to-kafka-instead-of-elasticsearch/140334>\
**Category:** Elasticsearch\
**Created:** [July 17, 2018, 1:30pm UTC](https://discuss.elastic.co/t/is-it-possible-to-publish-x-pack-metrics-to-kafka-instead-of-elasticsearch/140334 "2018-07-17T13:30:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![elasticheart](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/elasticheart/32/65189_2.png) [@elasticheart](https://discuss.elastic.co/u/elasticheart)\
**Post date:** [July 17, 2018, 1:30pm UTC](https://discuss.elastic.co/t/is-it-possible-to-publish-x-pack-metrics-to-kafka-instead-of-elasticsearch/140334/1 "2018-07-17T13:30:03Z")

</div>

Hi,

I am using ELK GA 6.3.0. I am currently experimenting with 50+ filebeat, 20+ Metricbeat, 8 Logstash, and 2 Kibana instances deployed across VMs. I have enabled X-Pack monitoring and http endpoints in all these and is working fine. But I need / like to know something.

I have a Kafka cluster, and to improve performance, I am pushing my beats output to Kafka. This works fine, and I would like to know if I can publish X-Pack data too into Kafka topic, and then push it into Elasticsearch using Logstash / some agent. Is this possible / is there any workaround?

Thanks.

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [July 18, 2018, 7:55am UTC](https://discuss.elastic.co/t/is-it-possible-to-publish-x-pack-metrics-to-kafka-instead-of-elasticsearch/140334/2 "2018-07-18T07:55:23Z")

</div>

Hey

monitoring data is currently always send to an Elasticsearch endpoint directly.

--Alex

---

<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:** [August 15, 2018, 7:55am UTC](https://discuss.elastic.co/t/is-it-possible-to-publish-x-pack-metrics-to-kafka-instead-of-elasticsearch/140334/3 "2018-08-15T07:55:24Z")

</div>

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