# \[IPV6 Only\]: FileBeat Integration to Push Logs on KAFKA Topic

**URL:** https://discuss.elastic.co/t/ipv6-only-filebeat-integration-to-push-logs-on-kafka-topic/252504
**Category:** Beats
**Tags:** filebeat
**Created:** [October 19, 2020, 8:21am UTC](https://discuss.elastic.co/t/ipv6-only-filebeat-integration-to-push-logs-on-kafka-topic/252504 "2020-10-19T08:21:20Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![PatelRudra](https://avatars.discourse-cdn.com/v4/letter/p/e8c25b/32.png) [@PatelRudra](https://discuss.elastic.co/u/PatelRudra)
#### Post date: [October 19, 2020, 8:21am UTC](https://discuss.elastic.co/t/ipv6-only-filebeat-integration-to-push-logs-on-kafka-topic/252504/1 "2020-10-19T08:21:20Z")

</div>

Hello Community,

Hope you are doing good in this pandemic.

I want to integrate FileBeat with Kafka, only on IPV6 K8S Cluster.

But I am getting the error " _Failed to connect to broker http://[240b:x:x:x:x:x:x:5001]:32392: dial tcp: address http://[240b:x:x:x:x:x:x:5001]:32392: too many colons in address_"

I am using FileBeat Version 7.0.0.

I assume that FileBeat Kafka Output module is not compatible with IPV6.

**filebeat.yml**

```auto
    filebeat.config:
      modules:
        path: ${path.config}/modules.d/*.yml
        reload.enabled: false
    logging.level: debug
    logging.to_files: true
    logging.files:
      path: /usr/share/filebeat/logs
      name: filebeat
      keepfiles: 7
      permissions: 0644
    output.kafka:
     hosts: ["http://240b:x:x:x:x:x:x:5001:32392"]
     topic: TEST-TOPIC

```

ALSO TRIED THIS (But didn't worked for me throwed same error message as above)

filebeat.yml (Replaced IPV6 with the hostname of Kafka server)

```auto
    filebeat.config:
      modules:
        path: ${path.config}/modules.d/*.yml
        reload.enabled: false
    logging.level: debug
    logging.to_files: true
    logging.files:
      path: /usr/share/filebeat/logs
      name: filebeat
      keepfiles: 7
      permissions: 0644
    output.kafka:
     **hosts: ["http://kafkahost:32392"]**
     topic: TEST-TOPIC

```

Prompt response is appreciated.

Do let me know if you need any thing else to debug this issue.

Regards,  
Rudra Patel

 ![filebeat-updated](https://us1.discourse-cdn.com/elastic/original/3X/5/d/5d43ed0b4b08c61b5f61c5ca4aad8b55d534414c.jpeg)

---

<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: [October 19, 2020, 2:29pm UTC](https://discuss.elastic.co/t/ipv6-only-filebeat-integration-to-push-logs-on-kafka-topic/252504/2 "2020-10-19T14:29:32Z")

</div>

Have you tried setting the `hosts` like this?

```auto
     hosts: ["240b:x:x:x:x:x:x:5001:32392"]

```

---

<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 16, 2020, 4:29pm UTC](https://discuss.elastic.co/t/ipv6-only-filebeat-integration-to-push-logs-on-kafka-topic/252504/3 "2020-11-16T16:29:38Z")

</div>

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