Skip to content

Filebeat Log Collection - File-Based Log Shipping

Filebeat is a lightweight log shipper that monitors log files and forwards log data to centralized logging platforms. Configure Filebeat to collect logs from servers, applications, and services, and send them to OpenObserve for log aggregation and analysis.

setup.ilm.enabled: false
setup.template.enabled: false

filebeat.inputs:
- type: log
  enabled: true
  paths:
    - /var/log/nginx/*.log

output.elasticsearch:
  hosts: ["http://localhost:5080"]
  timeout: 10
  path: "/api/default/"
  index: "default"
  username: "root@example.com"
  password: "password"