Fix missing links

This commit is contained in:
Baohua Yang
2026-02-22 13:40:20 -08:00
parent 92ea9623b2
commit e57704271d
54 changed files with 228 additions and 224 deletions

View File

@@ -15,7 +15,7 @@ ELK (ElasticsearchLogstashKibana) 是目前业界最流行的开源日志
我们将使用 Docker Compose 来一键部署整个日志堆栈
#### 1编写 Compose 文件
#### 1. 编写 Compose 文件
1. 编写 `compose.yaml` ( `docker-compose.yml`) 配置如下
@@ -71,7 +71,7 @@ networks:
logging:
```
#### 2配置 Fluentd
#### 2. 配置 Fluentd
创建 `fluentd/conf/fluent.conf`
@@ -102,7 +102,7 @@ networks:
</match>
```
#### 3配置应用容器使用 fluentd 驱动
#### 3. 配置应用容器使用 fluentd 驱动
启动一个测试容器指定日志驱动为 `fluentd`
@@ -117,7 +117,7 @@ docker run -d \
**注意**确保 `fluentd` 容器已经启动并监听在 `localhost:24224`在生产环境中如果你是在不同机器上需要将 `localhost` 替换为运行 fluentd 的主机 IP
#### 4 Kibana 中查看日志
#### 4. Kibana 中查看日志
1. 访问 `http://localhost:5601`
2. 进入 **Management**->**Kibana**->**Index Patterns**