openeuler/filebeat Docker Image
这是基于openEuler系统的官方Filebeat镜像,用于轻量级日志数据的转发与集中化处理,可监控指定日志文件或位置并将事件发送至Elasticsearch或Logstash进行索引。
Quick reference
-
The official Filebeat docker image.
-
Maintained by: https://gitee.com/openeuler/cloudnative.
-
Where to get help: https://gitee.com/openeuler/cloudnative, https://gitee.com/openeuler/community.
Filebeat | openEuler
Current Filebeat docker images are built on the https://repo.openeuler.org/. This repository is free to use and exempted from per-user rate limits.
Filebeat is a lightweight shipper for forwarding and centralizing log data. Installed as an agent on your servers, Filebeat monitors the log files or locations that you specify, collects log events, and forwards them either to Elasticsearch or Logstash for indexing.
Learn more about Filebeat on https://www.elastic.co/docs/reference/beats/filebeat/.
Supported tags and respective Dockerfile links
The tag of each filebeat docker image is consist of the version of filebeat and the version of basic image. The details are as follows
| Tag | Currently | Architectures |
|---|---|---|
| https://gitee.com/openeuler/openeuler-docker-images/blob/master/Others/filebeat/9.5.5/24.03-lts-sp4/Dockerfile | Filebeat 9.5.5 on openEuler 24.03-LTS-SP4 | amd64, arm64 |
| https://gitee.com/openeuler/openeuler-docker-images/blob/master/Others/filebeat/9.0.1/24.03-lts-sp4/Dockerfile | Filebeat 9.0.1 on openEuler 24.03-LTS-SP4 | amd64, arm64 |
| https://gitee.com/openeuler/openeuler-docker-images/blob/master/Others/filebeat/9.0.1/24.03-lts-sp1/Dockerfile | Filebeat 9.0.1 on openEuler 24.03-LTS-SP1 | amd64, arm64 |
Usage
In this usage, users can select the corresponding {Tag} based on their requirements.
-
Pull the
openeuler/filebeatimage from dockerbashdocker pull openeuler/filebeat:{Tag} -
Run with an interactive shell
You can also start the container with an interactive shell to use filebeat.
docker run -it --rm openeuler/filebeat:{Tag} bash -
Create the
filebeat.ymlfileHere's a minimal Filebeat test configuration (filebeat.yml) in English for functional testing:
filebeat.inputs: - type: filestream enabled: true paths: ["/var/log/log"] output.file: path: "/tmp/output" filename: "logs.json"Learn how to configure Filebeat on https://www.elastic.co/docs/reference/beats/filebeat/configuring-howto-filebeat.
-
Run in Foreground (Debug Mode)
filebeat -e -c filebeat.yml
Question and answering
If you have any questions or want to use some special features, please submit an issue or a pull request on https://gitee.com/openeuler/openeuler-docker-images.
更多相关 Docker 镜像与资源
以下是 openeuler/filebeat 相关的常用 Docker 镜像,适用于 不同场景 等不同场景:
- elastic/filebeat Docker 镜像说明(Filebeat 日志收集器,适合日志传输到 Elasticsearch)
- ibmcom/filebeat Docker 镜像说明(Filebeat 容器镜像,适合 ibmcom 维护的 Filebeat 工作负载部署)
镜像拉取方式
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表。
轩辕镜像加速拉取命令点我查看更多 filebeat 镜像标签
DockerHub 原生拉取命令
用户好评
来自真实用户的反馈,见证轩辕镜像的优质服务