Skip to content

[QUESTION]: processor_split_char SourceKey 无法使用tags数据中log.file.path信息 #2130

Answered by Abingcbc
jasonchoi517 asked this question in Help
Discussion options

You must be logged in to vote

对于Tag的处理,目前有两种方法:

  1. 原生插件只有SPL支持处理,字段名前需要加__tag__:前缀。
  2. 拓展插件在2.0之前可以处理。对于2.0之后的ilogtail和Loongcollector,在全局配置里配置 UsingOldContentTag: true。之后所有的拓展插件都可以在content中处理tag。

Replies: 7 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by Abingcbc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
question Further information is requested
4 participants
Converted from issue

This discussion was converted from issue #1979 on March 05, 2025 06:09.