How Logstash is different than Kafka

0 votes

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.

Can anyone help me with this?

Thanks.

Jul 13, 2018 in DevOps Tools by shubham
• 6,890 points
133 views

1 answer to this question.

0 votes

I think I can help you with the difference between logstash and Kafka.

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.

Kafka can be used as 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 output 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:

  • Stream Processing
  • Website Activity Tracking
  • Metrics Collection and Monitoring
  • Log Aggregation

So simply both of them have their own advantages and disadvantages. But then it depends on your requirements solely.

I hope the above information will be helpful to you.

answered Jul 13, 2018 by Atul
• 10,240 points

Related Questions In DevOps Tools

0 votes
1 answer

How to deploy kafka cluster on cloud?

You can run kafka in both ways ...READ MORE

answered Jun 14, 2018 in DevOps Tools by DareDev
• 6,810 points
61 views
0 votes
1 answer

Want a command to be executed in Salt only if a directory is empty

You should consider using this inside your ...READ MORE

answered Jun 12, 2018 in DevOps Tools by Damon Salvatore
• 5,510 points
46 views
0 votes
1 answer

Gunicorn stuck on docker when run is executed with flask application

Here's something that you could try: Check your ...READ MORE

answered Jun 13, 2018 in DevOps Tools by ajs3033
• 7,280 points
792 views
0 votes
1 answer

For Gradle & Spring Boot, how do I choose dependency with implementation?

Below is the answer to your question: Both ...READ MORE

answered Jun 16, 2018 in DevOps Tools by shubham
• 6,890 points
68 views
+13 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 26, 2018 in DevOps & Agile by DragonLord999
• 8,380 points
215 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

How do I run “ant update” in Hybris with only “Update Running System”?

Here is what you can try. You can ...READ MORE

answered Jul 10, 2018 in DevOps Tools by Atul
• 10,240 points
1,505 views