弹性搜索中的@timestamp和timestamp字段之间的区别 [英] Difference between @timestamp and timestamp field in elasticsearch

查看:1473
本文介绍了弹性搜索中的@timestamp和timestamp字段之间的区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我使用日志存储记录一些请求进行弹性搜索时,它将@timestamp字段放置为时间。
当我使用NEST记录这些请求并设置timestamp字段时,它会放置时间戳字段。

When I logged some requests to elastic search using log stash, it puts @timestamp field as time. And when I logged those requests using NEST and set timestamp field, it puts timestamp field.

当我使用kibana看到数据时,这2个字段具有单独的名称。他们之间有什么区别?

When I see data using kibana, those 2 fields have separate name. What is difference between them?

推荐答案

@timestamp字段是一种用于日志存储的内部字段。这就是为什么@符号在字段前面。可以是存储时间戳的任何其他字段。就像elasticsaerch使用_一些内部字段。

The @timestamp field is kind of an internal field for log stash. That is why the @ sign is in front of the field. Could be any other field that stores a timestamp. Just like elasticsaerch uses the _ for some internal fields.

这篇关于弹性搜索中的@timestamp和timestamp字段之间的区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆