Hi
We are using kafka 2.12 and configure the output as below in the filebeat.
service versions:
- logstash-6.3.1
- kafka_2.12-2.2.0
- zookeeper-3.4.14
- elasticsearch-6.3.1
- kibana-6.3.1
- filebeat-6.3.1
filebeat.prospectors:
type: log
enabled: true
paths:
/var/log/*.log
#============================= Filebeat modules ===============================
filebeat.config.modules:
Glob pattern for configuration loading
path: ${path.config}/modules.d/*.yml
Set to true to enable config reloading
reload.enabled: false
Period on which files under path should be checked for changes
#reload.period: 10s
#==================== Elasticsearch template setting ==========================
setup.template.settings:
index.number_of_shards: 3
#index.codec: best_compression
#_source.enabled: false
#-------------------------- Kafka Output ----------------------------------
output.kafka:
initial brokers for reading cluster metadata
hosts: ["kafka ip:9092"]
message topic selection + partitioning
topic: 'test'
partition.round_robin:
reachable_only: false
required_acks: 1
compression: gzip
max_message_bytes: 1000000
We have check the logs in the kafka there is no log on it. Can you please help to fix this issue.