Filebeat не читает docker журналов - PullRequest
0 голосов

Я пытаюсь получить журналы из docker контейнеров с конфигурацией:

filebeat.inputs:
- type: docker
  containers:
    path: "/usr/share/dockerlogs/data"
    ids:
      - "*"

output.logstash:
  hosts: ["logstash:5044"]

В контейнере filebeat есть журналы:

2020-05-08T09:29:49.603Z    INFO    [monitoring]    log/log.go:145  Non-zero metrics in the last 30s    {"monitoring": {"metrics": {"beat":{"cpu":{"system":{"ticks":190,"time":{"ms":4}},"total":{"ticks":1000,"time":{"ms":8},"value":1000},"user":{"ticks":810,"time":{"ms":4}}},"handles":{"limit":{"hard":1048576,"soft":1048576},"open":6},"info":{"ephemeral_id":"60049d59-9ea5-4d09-a0b8-b1141cac6991","uptime":{"ms":450188}},"memstats":{"gc_next":8796256,"memory_alloc":5022848,"memory_total":16894552},"runtime":{"goroutines":15}},"filebeat":{"harvester":{"open_files":0,"running":0}},"libbeat":{"config":{"module":{"running":0}},"pipeline":{"clients":0,"events":{"active":0}}},"registrar":{"states":{"current":0}},"system":{"load":{"1":0.43,"15":0.88,"5":0.96,"norm":{"1":0.0538,"15":0.11,"5":0.12}}}}}}

Как я могу узнать, что filebeat может видеть docker журналы?

...