当我使用流利的方式匹配所有日志时,我总是会收到警告消息

时间:2019-10-28 03:27:19

标签: fluentd

我有一个设备可以发送日志,例如 "<134>Oct 27 20:08:02 bigip tmm2[16485]: Rule /Common/test2 <HTTP_REQUEST>: Received Request for uri '/' from client. Sending to server..." 到td-agent fluentd-0.12.40

我的td-agnet.conf如下:

  <source>
    @type udp
    port 20001
    bind 0.0.0.0
    tag udp.input
    format json
  </source>
  <match **>
    @type stdout
  </match>

**与所有消息都匹配吗?但我得到此警告:

2019-10-27 20:08:04 -0700 [warn]: pattern not match: "<134>Oct 27 20:08:02 bigip tmm2[16485]: Rule /Common/test2 <HTTP_REQUEST>: Received Request for uri '/' from client.  Sending to server..."
2019-10-27 20:08:04 -0700 fluent.warn: {"message":"pattern not match: \"<134>Oct 27 20:08:02 bigip tmm2[16485]: Rule /Common/test2 <HTTP_REQUEST>: Received Request for uri '/' from client.  Sending to server...\""}

为什么?有人可以帮忙吗?

0 个答案:

没有答案