elasticsearch 前缀为“的ElasticSearch字段@&引用;,elasticsearch,elasticsearch" /> elasticsearch 前缀为“的ElasticSearch字段@&引用;,elasticsearch,elasticsearch" />

elasticsearch 前缀为“的ElasticSearch字段@&引用;

elasticsearch 前缀为“的ElasticSearch字段@&引用;,elasticsearch,elasticsearch,我在示例映射中看到许多字段,它们看起来像@timestamp,@name,等等 这是什么意思?它是否有任何改变或是某种惯例? 这对谷歌来说很棘手,我没有找到任何阅读该文件的参考资料 下面是一个例子: 这些设置不会影响任何内容。它们是标准化的日志存储字段,您可以轻松地报告来自多个来源的日志 它们只是一个logstash约定,而不是elasticsearch约定。afaik,它不会改变任何东西。你能给一个这样的示例映射的链接吗?下面是logstash代码中的一个示例 ...

我在示例映射中看到许多字段,它们看起来像
@timestamp
@name
,等等

这是什么意思?它是否有任何改变或是某种惯例? 这对谷歌来说很棘手,我没有找到任何阅读该文件的参考资料

下面是一个例子:


这些设置不会影响任何内容。它们是标准化的日志存储字段,您可以轻松地报告来自多个来源的日志


它们只是一个logstash约定,而不是elasticsearch约定。

afaik,它不会改变任何东西。你能给一个这样的示例映射的链接吗?下面是logstash代码中的一个示例
        ...
        "properties" : {
            "@fields": { "type": "object", "dynamic": true, "path": "full" }, 
            "@message" : { "type" : "string", "index" : "analyzed" },
            "@source" : { "type" : "string", "index" : "not_analyzed" },
            "@source_host" : { "type" : "string", "index" : "not_analyzed" },
            "@source_path" : { "type" : "string", "index" : "not_analyzed" },
            "@tags": { "type": "string", "index" : "not_analyzed" }, 
            "@timestamp" : { "type" : "date", "index" : "not_analyzed" },
            "@type" : { "type" : "string", "index" : "not_analyzed" }
        }
        ...