Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

[QUESTION]:processor_add_fields 支持添加字符串数组吗 #1801

Open
SaberChX opened this issue Oct 12, 2024 · 1 comment
Open

[QUESTION]:processor_add_fields 支持添加字符串数组吗 #1801

SaberChX opened this issue Oct 12, 2024 · 1 comment
Labels
question Further information is requested

Comments

@SaberChX
Copy link

配置:
- Type: processor_add_fields
Fields:
labels:
- "testa"
- "testb"
array: ["a", "b"]

期望得到输出:
{
"labels": [
"testa",
"testb"
],
"array": [
"a",
"b"
]
}

尝试了下 这两种方式都不行。

@SaberChX SaberChX added the question Further information is requested label Oct 12, 2024
@messixukejia
Copy link
Collaborator

内部结构都是字符串窜,这种情况应该是添加序列化后的结果

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants