橡皮、老虎皮、狮子皮哪一个最不好?

Filebeat cpu 使用率偏高

Beats | 作者 sailq21 | 发布于2017年09月19日 | 阅读数:8053

我的cpu是 32core,操作系统是centos6.7,然后我的 filebeat 版本是 5.6.0,
然后我的配置文件内容如下
filebeat.prospectors:

- input_type: log

  paths:

    - /data/logs/nginx/access.log

  document_type: nginxAccess

  tail_files: true

  ignore_older: 24h

processors:

 - decode_json_fields:

     fields: ["message",]

     process_array: false

     max_depth: 1

     target:

     overwrite_keys: false

output.kafka:

  # initial brokers for reading cluster metadata

  hosts: ["kafka:9092", "kafka2:9092", "kafka3:9092","kafka4:9092","kafka5:9092"]

  # message topic selection + partitioning

  topic: '%{[type]}'

  partition.round_robin:

    reachable_only: false
  required_acks: 1

  compression: gzip

  max_message_bytes: 1000000


然后我的CPU 
   PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND                                                                                                                                                                                                          

153361 root      20   0  140m 134m 5548 S 820.5  0.1 181:35.73 filebeat
 
 
有人遇到过么。各位前辈能帮忙看看么?
已邀请:

linjikun - 90IT 单身汪

赞同来自:

是不是kafka的版本问题,5.6.x默认的是0.8.2.0的kafka

要回复问题请先登录注册