Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[QUESTION]:[processor_add_fields processor] IgnoreIfExist 是否存在无效情况? #1435

Open
JarvanBest opened this issue Apr 2, 2024 · 0 comments
Labels
question Further information is requested

Comments

@JarvanBest
Copy link

image
如图配置,IgnoreIfExist 设置为true
模拟采集数据如下:
echo '{"timestamp": "2024-03-27T12:00:00","message": "Error occurred","severity": "ERROR"}' >> Add_Fields.log

处理之后的数据如下:并没有忽略已有的字段
{"content":"{"timestamp": "2024-03-27T12:00:00","message": "Error occurred","severity": "ERROR"}","severity":"ERROR","time":"1711593722"}

@JarvanBest JarvanBest added the question Further information is requested label Apr 2, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant