How Log stash is different than Kafka? and if both are same which is better? and How?
I found both are the pipelines where one can push the data for further processing.
Logstash is a tool that can be used to collect, process and forward events and log messages. Collection is accomplished through a number of input
plugins. You can use Kafka
as an input plugin, where it will read events from a Kafka topic. Once an input plugin has collected data it can be processed by any number of filters which modify and annotate the event data. Finally events are routed to outpu
t plugins which can forward the events to a variety of external programs including Elasticsearch.
Where as Kafka
is a messaging software that persists messages, has TTL, and the notion of consumers that pull data out of Kafka. Some of it's usages could be:
So simply both of them have their own advantages and disadvantages. But then it depends on your requirements solely.