docs(dataIn): add warning for json property name with dot

This commit is contained in:
yingzhao 2025-01-10 11:39:42 +08:00
parent ad6e9c46d8
commit 41a2382d1a
1 changed files with 3 additions and 1 deletions

View File

@ -94,6 +94,8 @@ JSON 解析支持 JSONObject 或者 JSONArray。 如下 JSON 示例数据,可
![JSON 解析](./pic/transform-02.png)
> 注意JSON 属性名称中不能含有`.`;如果含有,则必须使用名称 alias 将名称转义。
##### Regex 正则表达式<a name="regex"></a>
可以使用正则表达式的**命名捕获组**从任何字符串(文本)字段中提取多个字段。如图所示,从 nginx 日志中提取访问ip、时间戳、访问的url等字段。
@ -162,7 +164,7 @@ let v3 = data["voltage"].split(",");
```
between_time_range(ts, t1, t2)
// 如果时间范围为最近7点内的才能入库,则过滤条件为:
// 例如:如果时间范围为最近 7 天内的才能入库,则过滤条件为:
between_time_range(ts, -604800, 0)
```