filebeat.docker.yml 467 B

12345678910111213141516171819
  1. setup.kibana:
  2. host: 'kibana:5601'
  3. output.elasticsearch:
  4. hosts: ['elasticsearch:9200']
  5. # Using log files:
  6. filebeat.inputs:
  7. - type: log
  8. enabled: true
  9. paths: /logs/*.json
  10. json.keys_under_root: true
  11. json.overwrite_keys: true
  12. json.add_error_key: true
  13. json.expand_keys: true
  14. # Docker autodiscover alternative:
  15. # filebeat.autodiscover:
  16. # providers:
  17. # - type: docker
  18. # hints.enabled: true
  19. # hints.default_config.enabled: false