日志服务可以使用DSL进行加工处理
阿里云帮助文档
数据加工语法简介
https://www.alibabacloud.com/help/zh/doc-detail/125439.htm?spm=a2c63.p38356.b99.358.1d114889OpfTP1
函数总览
https://help.aliyun.com/document_detail/159702.html?spm=a2c4g.11186623.6.1004.3a9628c75Xwwfp
Sample
e_if(
regex_match(v("content"), r"(.+)Search with keyword: (.+).", full=False),
e_compose(
e_set("type", "search"),
e_set(
"keyword",
regex_select(
v("content"), r"(.+)Search with keyword: (.+).", mi=None, gi=1
),
),
),
)
e_keep(v('type))