Content-Type: application/json; charset=utf-8
"FunctionType": "字段操作函数",
"MethodSignature": "f_rename(\"key1\", \"new key1\", \"key2\", \"new key2\", ...)",
"Description": "调用f_rename函数重命名符合条件的日志字段名称",
"content": "hello world!"
"Script": "f_rename(\"content\",\"content_new\")",
"content_new": "hello world!"
"Description": "将字段content重命名为content_new"
"content": "hello world!"
"Script": "f_rename(\"field\",\"content_new\")",
"content": "hello world!"
"Description": "字段不存在时,不进行重命名"
"ArgumentType": "STRING",
"Description": "日志的字段名",
"ArgumentType": "STRING",
"Description": "重命名后的字段名",
"FunctionType": "字段操作函数",
"MethodSignature": "f_keep(\"key1\", \"key2\", ....)",
"Description": "调用f_keep函数保留符合条件的日志字段",
"content": "hello world!",
"Script": "c_if(f_has(\"content\"), f_keep(\"content\", \"language\"))",
"content": "hello world!",
"Description": "如果存在content字段,则保留content和language字段"
"ArgumentType": "STRING",
"Description": "保留日志的字段名",