elasticsearch 弹性闸板要求
我们正在考虑使用ElasticSearch以以下简单模式存储日志数据:elasticsearch 弹性闸板要求,elasticsearch,logstash,elasticsearch,Logstash,我们正在考虑使用ElasticSearch以以下简单模式存储日志数据: { "data" : { "properties" : { "date": { "type" : "date", "format" : "yyyy-MM-dd HH:mm:ss" }, "status": {"type" : "string"}, "group
{
"data" : {
"properties" : {
"date": {
"type" : "date",
"format" : "yyyy-MM-dd HH:mm:ss"
},
"status": {"type" : "string"},
"group": {"type" : "string"},
"ip": {"type" : "string"},
"username":{"type" : "string"},
"category":{"type" : "string"},
"url":{"type" : "string"}
}
}
}
我们估计,我们最多将有5000个INSERT/s和1亿个文档。你知道8GB内存是否足以处理这个问题吗?
从我在上看到的,典型的服务器使用16-64GB,但没有关于INSERT/s的信息
谢谢您的建议。您需要对此进行测试。这不是一个确定的数字,它取决于用例、您拥有的硬件、要索引的数据、批量或索引等。请查看doc_值,对于未分析的值,这将大大减少堆占用空间。