【发布时间】:2018-11-23 06:33:22
【问题描述】:
所以我通过 winlogbeat 将事件查看器的数据发送到 kibana。实际上我的 event_data.boottime 值是以字符串格式出现的,我想要这个数字格式的数据字段。我已经尝试更改 winlogbeat.template.json 中的格式,但它不起作用。boot time field
【问题讨论】:
标签: kibana elastic-stack metricbeat event-id
所以我通过 winlogbeat 将事件查看器的数据发送到 kibana。实际上我的 event_data.boottime 值是以字符串格式出现的,我想要这个数字格式的数据字段。我已经尝试更改 winlogbeat.template.json 中的格式,但它不起作用。boot time field
【问题讨论】:
标签: kibana elastic-stack metricbeat event-id
您需要确保映射定义正确,以便数据自动转换并通过 elastic 以所需格式保存。
"boot_time": {
"type": "long"
}
您可以使用
检查您的类型的当前映射http://elasticip:port/indexname/typename/_mapping
【讨论】: