What is the point of REDIS in ELK stack?

99封情书 提交于 2019-11-30 05:17:38

Redis or Kafka or XYZ can be used as buffer in the ELK stack as you've rightly noticed.

The ES folks published a blog post yesterday about using Kafka in the pipeline, but it could as well have been Redis or XYZ. They make a good point about WHEN such a buffer could be needed and when it is not.

It is a good idea to have such a buffer in order to

  1. handle event spikes
  2. deal with a potentially unreachable ES cluster

If you don't anticipate such behaviors, i.e. you know

  1. your events will always come at the same rate and/or
  2. you're ok with your logs being shipped a bit later in case you need to upgrade your ES cluster

...then you don't need such a buffer. What's more, that will be one less piece of software you need to manage, monitor and maintain.

When it comes to the Elastic Stack ecosystem, there's no one-size-fits-all approach, it always depends on your precise use case and requirements. You need to ask yourself what is important to you, your system(s) and your users and then design your solution accordingly.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!