如何在不使用任何日志传送器(如 Filebeat 或 Logstash)的情况下将日志存储在 Elasticsearch 中?

How to store logs in Elasticsearch without using any log shipper like Filebeat or Logstash?

我不想使用 filebeat 或 logstash。我只安装了 Elasticsearch,我想把日志记录存储在里面,然后索引它们。可以吗

是的,可以,您可以使用任何 client library of your choosing and then hit the Index API endpoint or the Bulk API 端点来索引您的数据。