Skip to content

FileBeat

  • Lightweight utility that resides on the webserver to publish log data to a separate logstash cluster
  • Filebeat ships logs to logstash
  • Filebeat can optionally talk directly to elasticsearch
  • The introduction to filebeat introduced the elastic stack

Filebeat backpressure

  • Filebeat maintains a read pointer to the log files running in each machine
  • Filebeat cannot read faster than what logstash can handle!
  • Backpressure sensitive protocol to tune the flux of data

X-Pack Security

  • Access Control
  • Data integrity
  • Audit trails

  • POST /_security/role/users

{
  "run_as": ["user_impersonator"],
  "cluster": ["movielens"],
  "indicies": [
    {
      "names": ["movies"],
      "privileges": ["read"],
      "field_security": {
        "grant": ["title", "year", "genres"]
      }
    }
  ]
}

File beat installation

Filebeat dashboards

  • Install filebeat plugin for kibana
sudo filebeat setup --dashboard