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

字段提取功能问题 #472

Open
Eli-ZhangLu opened this issue Nov 25, 2021 · 1 comment · Fixed by #473 or #476
Open

字段提取功能问题 #472

Eli-ZhangLu opened this issue Nov 25, 2021 · 1 comment · Fixed by #473 or #476
Assignees

Comments

@Eli-ZhangLu
Copy link

Eli-ZhangLu commented Nov 25, 2021

版本信息

  • saas&后台版本:4.2.653

json提取方式问题

  1. 问题描述:json清洗后带特殊字符的字段重命名后前端校验不通过;
  2. 理想结果:json清洗后带特殊字符的字段重命名,只需要校验重命名字段格式,而不需要校验原始字段;
  3. 问题截图:
    image
  4. 日志原文:
{
    "@timestamp": "2021-11-05T22:10:00.000Z",
    "@version": "1",
    "program": "/usr/sbin/cron",
    "host": "127.0.0.1",
    "timestamp": "Nov  6 06:10:00",
    "message": "(root) CMD (   /usr/libexec/atrun)",
    "priority": 78,
    "pid": "39172",
    "facility_label": "clock",
    "logsource": "ELI-PC",
    "severity_label": "Informational",
    "severity": 6,
    "facility": 9
}

时间字段清洗问题

  1. 问题描述:“2021-11-05T22:10:00.000Z” 时间数据用“YYYY-MM-DDTHH:mm:ss.SSSZ”格式清洗失败;
  2. 理想结果:时间字段和数据格式匹配应该清洗成功;
  3. 问题截图:
    image
  4. 日志原文:
{
    "@timestamp": "2021-11-05T22:10:00.000Z",
    "@version": "1",
    "program": "/usr/sbin/cron",
    "host": "127.0.0.1",
    "timestamp": "Nov  6 06:10:00",
    "message": "(root) CMD (   /usr/libexec/atrun)",
    "priority": 78,
    "pid": "39172",
    "facility_label": "clock",
    "logsource": "ELI-PC",
    "severity_label": "Informational",
    "severity": 6,
    "facility": 9
}
@zzhutianyu
Copy link
Collaborator

@ziijiawen 看下第一个问题

This was linked to pull requests Nov 25, 2021
@zzhutianyu zzhutianyu added the uat label Nov 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants