Hello Team ,
This is my configuration
filebeat version 5.0.0-1 with centos 7 and also it directly inserts into kafka
These are the events in filebeat
INFO Non-zero metrics in the last 30s: registrar.states.update=8935 publish.events=8935 libbeat.kafka.call_count.PublishEvents=6 libbeat.kafka.published_and_acked_events=8935 libbeat.publisher.published_events=8935 registrar.writes=6
INFO Non-zero metrics in the last 30s: registrar.states.update=8495 registrar.writes=5 libbeat.kafka.call_count.PublishEvents=6 libbeat.publisher.published_events=10372 libbeat.kafka.published_and_acked_events=8495 publish.events=8495
INFO Non-zero metrics in the last 30s: registrar.writes=11 registrar.states.update=22357 libbeat.kafka.call_count.PublishEvents=10 libbeat.publisher.published_events=20480 libbeat.kafka.published_and_acked_events=22357 publish.events=22357
INFO Non-zero metrics in the last 30s: publish.events=15430 libbeat.kafka.published_and_acked_events=15430 registrar.writes=8 libbeat.kafka.call_count.PublishEvents=9 libbeat.publisher.published_events=17478 registrar.states.update=15430
INFO Non-zero metrics in the last 30s: registrar.writes=12 publish.events=24576 libbeat.kafka.call_count.PublishEvents=11 libbeat.publisher.published_events=22528 libbeat.kafka.published_and_acked_events=24576 registrar.states.update=24576
filebeat.prospectors:
-
input_type: log
paths:- /var/log/nginx/1.log
document_type: app1
- /var/log/nginx/1.log
-
input_type: log
paths:- /var/log/nginx/2.log
document_type: app2
- /var/log/nginx/2.log
-
input_type: log
paths:- /var/log/nginx/3.log
document_type: app3
- /var/log/nginx/3.log
-
input_type: log
paths:- /var/log/nginx/4.log
document_type: app4
- /var/log/nginx/4.log
-
input_type: log
paths:- /var/log/nginx/5.log
document_type: app5
- /var/log/nginx/5.log
-
input_type: log
paths:- /var/log/nginx/6.log
document_type: app6
- /var/log/nginx/6.log
-
input_type: log
paths:- /var/log/nginx/7.log
document_type: app7
- /var/log/nginx/7.log
-
input_type: log
paths:- /var/log/nginx/8.log
document_type: app8
- /var/log/nginx/8.log
-
input_type: log
paths:- /var/log/nginx/9.log
document_type: app9
- /var/log/nginx/9.log
-
input_type: log
paths:- /var/log/nginx/10.log
document_type: app10
- /var/log/nginx/10.log
-
input_type: log
paths:- /var/log/nginx/11.log
document_type: app11
- /var/log/nginx/11.log
-
input_type: log
paths:- /var/log/nginx/12.log
document_type: app12
- /var/log/nginx/12.log
-
input_type: log
paths:- /var/log/nginx/13.log
document_type: app13
close_inactive: 48h
output.kafka:
enabled: truehosts: ["1.1.1.1:9092","2.2.2.2:9092","3.3.3.3:9092","4.4.4.4:9092","5.5.5.5:9092","6.6.6.6:9092","7.7.7.7:9092","8.8.8.8:9092","9.9.9.9:9092","10.10.10.10:9092"]
topic: '%{[type]}'
partition.round_robin:
- /var/log/nginx/13.log
logging.to_files: true
logging.files:
path: /var/log/filebeat
Cpu : overshoots to more than 100% and it is only affinity is to single cpu