我计划将 AWS Elasticsearch 用作事件存储数据库。大多数情况下,事件类似于实例 ID 和登录/注销事件等。在这种情况下,实例 ID 几乎保持不变,但事件会随着此类事件的时间戳不断更新。
想知道是否有人在这种情况下有使用 Elastic 的经验,以及关于如何最好地将此类数据注入 ES 索引的任何指示?
我计划将 AWS Elasticsearch 用作事件存储数据库。大多数情况下,事件类似于实例 ID 和登录/注销事件等。在这种情况下,实例 ID 几乎保持不变,但事件会随着此类事件的时间戳不断更新。
想知道是否有人在这种情况下有使用 Elastic 的经验,以及关于如何最好地将此类数据注入 ES 索引的任何指示?
Its a very common use of Elasticsearch and a lot of companies uses Elasticsearch to store/track the various events of the system for example user-clicks/user activity on the website which seems to closely related to your use-case.
You can easily use elasticsearch for this use case and for system generated metrics/events or even for these metrics, which normally initially logged on files in raw format and later on refined and stored in Elasticsearch, you can use the filebeat which is very easy to configure and has several integration with various popular system, otherwise you can simply configure it according to your need.