简体   繁体   中英

Throttling with Logstash and scaling

I am already using ELK stack for log processing. Now, I am planning to use Logstash for throttling of incoming data. But, not sure, How to scale up Logstash + throttling, if load increases.

Normally for scaling up Logstash, I was planing to run multiple simultaneous instances of Logstash, to share the load. But if throttling will be there then how throttling information will be shared among different instances of Logstash ? Or any other, completely different approach ?

Based on your additional comments, it sounds like the metrics{} filter would work. It allows you to count the number of events that are coming through logstash in a given period, and you could configure different "meter" types based on the different things you wanted to count.

Once you have them counted with that filter, you could have an output{} stanza that would alert you (eg email, hipchat, irc, pagerduty).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM