Files
geedge-jira/md/OMPUB-927.md
2025-09-14 21:52:36 +00:00

37 lines
1.5 KiB
Markdown
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 福建项目:客户需求-APPExtra Info日志中信息按照packet分类展示
| ID | Creation Date | Assignee | Status |
|----|----------------|----------|--------|
| OMPUB-927 | 2023-05-18T18:05:16.000+0800 | 杨威 | 完成 |
---
目前APP Extra Info是通过lua脚本中的APP.append_extra_info方法逐条增加的没有packet之间的严格界限。客户需要APPExtra Info日志中信息按照packet分类展示以便后期进行日志的处理。**yangwei** commented on *2023-05-23T10:03:21.574+0800*:
经与牛翔沟通,用户的需求是:
# 自行撰写lua脚本通过TSG界面下发lua脚本中输出自定义的信息
# 从TSG界面导出特定日志对撰写的lua脚本输出的信息进行处理
 
原则上TSG开放lua脚本是期望提供给用户一个自定义信息的框架具体的内容可以基于当前框架灵活使用。
目前lua支持在同一个会话多次提交形式为”Key-Value“对的字符串同时提供了上下文供lua执行有状态的处理建议用户按如下方式使用满足他们的要求
# 将信息放置在提交的”Key“或者”Value“中例如可以将附图中的多个字段以CSV的形式输出成一个Value串
# 对于想要区分包的信息可以在上下文中存储包的计数以便将该计数值写入上述的CSV格式的串中
# 从TSG界面导出原始日志后由用户自行对应的Value值自行进行二次处理
---
## Attachments
**38425/image-2023-05-18-18-05-53-549.png**
---