<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Filebeat on Tony Bai</title><link>https://tonybai.com/tags/filebeat/</link><description>Recent content in Filebeat on Tony Bai</description><generator>Hugo</generator><language>zh-cn</language><copyright>2004-2026 Tony Bai. 版权所有.</copyright><lastBuildDate>Fri, 25 Mar 2016 00:00:00 +0800</lastBuildDate><atom:link href="https://tonybai.com/tags/filebeat/index.xml" rel="self" type="application/rss+xml"/><item><title>使用Filebeat输送Docker容器的日志</title><link>https://tonybai.com/2016/03/25/ship-docker-container-log-with-filebeat/</link><pubDate>Fri, 25 Mar 2016 00:00:00 +0800</pubDate><guid>https://tonybai.com/2016/03/25/ship-docker-container-log-with-filebeat/</guid><description>今天我们来说说Docker容器日志。 一、容器日志输出的旧疾及能力演进 Docker容器在默认情况下会将打印到stdout、stderr的 日志数据存储在本地磁盘上，默认位置为/var/lib/docker/containers/{ContainerId} /{ContainerId}-json.log。在老版本Docker中，这种日志记录方式经常被诟病，诸如：日志大小无限制、无法 Rotate（...</description></item></channel></rss>