Logstash: is it possible to save documents in memory?

前端 未结 1 549
温柔的废话
温柔的废话 2021-01-28 19:04

I am trying to save data in memory that I would be able to retrieve quickly in my filter part. Indeed, when i receive new documents i want to retrieve former documents related i

1条回答
  •  囚心锁ツ
    2021-01-28 19:24

    The closest thing to achieve this would be to use the elasticsearch filter in order to query an ES cluster for some document or the unofficial memcached filter, which is probably more up to that task given the features of memcached.

    I'm not aware of any official/unofficial redis or hazelcast filters, though, but that would also be an option since they are both caching technologies.

    You should also have a look at the existing metrics filter which might also be of some help depending on your use case, which, by the way, you should detail a bit more if you desire more precise help.

    0 讨论(0)
提交回复
热议问题