【问题标题】:How to convert string field into integer field in kibana如何在kibana中将字符串字段转换为整数字段
【发布时间】:2018-11-23 06:33:22
【问题描述】:

所以我通过 winlogbeat 将事件查看器的数据发送到 kibana。实际上我的 event_data.boottime 值是以字符串格式出现的,我想要这个数字格式的数据字段。我已经尝试更改 winlogbeat.template.json 中的格式,但它不起作用。boot time field

【问题讨论】:

    标签: kibana elastic-stack metricbeat event-id


    【解决方案1】:

    您需要确保映射定义正确,以便数据自动转换并通过 elastic 以所需格式保存。

    "boot_time": {
        "type": "long"
    }
    

    您可以使用

    检查您的类型的当前映射
    http://elasticip:port/indexname/typename/_mapping
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-05-07
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多