小编All*_* Jz的帖子

如何为我的流利事件添加标签

我写的

<source>
  @type tail
  format nginx
  path /home/work/opt/nginx/var/log/access.log
  tag nginx.access
</source>
Run Code Online (Sandbox Code Playgroud)

在我的 fluent.conf 文件中并与 stdout 匹配,但是当我对我的网站进行 post 调用时,nginx 将访问记录到其日志中,但 fluentd_ui 建议

 [warn]: no patterns matched tag="nginx.access"
Run Code Online (Sandbox Code Playgroud)

如何为我的 http 请求添加标签?

fluentd

1
推荐指数
1
解决办法
4735
查看次数

标签 统计

fluentd ×1