# How to improve Performance

**URL:** https://discuss.elastic.co/t/how-to-improve-performance/107167
**Category:** Logstash
**Created:** [November 10, 2017, 11:08am UTC](https://discuss.elastic.co/t/how-to-improve-performance/107167 "2017-11-10T11:08:15Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![yoga-sara](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yoga-sara/32/27541_2.png) [@yoga-sara](https://discuss.elastic.co/u/yoga-sara)
#### Post date: [November 10, 2017, 11:08am UTC](https://discuss.elastic.co/t/how-to-improve-performance/107167/1 "2017-11-10T11:08:15Z")

</div>

Hi,

I want to know which improves performance. I have two methods like below,

1. single pipeline with single filter having multiple plugin.  
2.Single conf having multiple pipeline (multiple filter and multiple output)  
Thanks in advance.

---

<div class="post-metadata">

### Author: ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)
#### Post date: [November 10, 2017, 11:10am UTC](https://discuss.elastic.co/t/how-to-improve-performance/107167/2 "2017-11-10T11:10:53Z")

</div>

I would say that depends on your inputs, config and outputs. Can you provide some additional details?

---

<div class="post-metadata">

### Author: ![yoga-sara](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yoga-sara/32/27541_2.png) [@yoga-sara](https://discuss.elastic.co/u/yoga-sara)
#### Post date: [November 10, 2017, 11:13am UTC](https://discuss.elastic.co/t/how-to-improve-performance/107167/3 "2017-11-10T11:13:23Z")

</div>

Sure.  
input {  
beats {  
host =\> "IP"  
port =\> 5044  
ssl =\> false  
}  
}  
filter{  
(for jws and jboss - used grok and mutate )  
}  
output {  
elasticsearch {  
hosts =\> ["IP:9200"]  
sniffing =\> true  
manage\_template =\> false  
index =\> "%{[@metadata][beat]}-%{+YYYY.MM.dd}"  
document\_type =\> "%{[@metadata][type]}"  
}  
}

---

<div class="post-metadata">

### Author: ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)
#### Post date: [November 10, 2017, 11:16am UTC](https://discuss.elastic.co/t/how-to-improve-performance/107167/4 "2017-11-10T11:16:33Z")

</div>

If all your data comes in through the beats plugin on port 5044, the structure you outlined is probably the best.

---

<div class="post-metadata">

### Author: ![yoga-sara](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yoga-sara/32/27541_2.png) [@yoga-sara](https://discuss.elastic.co/u/yoga-sara)
#### Post date: [November 14, 2017, 5:17am UTC](https://discuss.elastic.co/t/how-to-improve-performance/107167/5 "2017-11-14T05:17:16Z")

</div>

Hi Dahlqvist,  
Clarify me the performance impact of more filter and more pipeline.

---

<div class="post-metadata">

### Author: ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)
#### Post date: [November 14, 2017, 6:46am UTC](https://discuss.elastic.co/t/how-to-improve-performance/107167/6 "2017-11-14T06:46:01Z")

</div>

If you are looking for guidance on performance tuning and optimisation for Logstash I would recommend the following:

- The [performance guide in the documentation](https://www.elastic.co/guide/en/logstash/current/performance-tuning.html)
- This [blog post about the grok filter](https://www.elastic.co/blog/do-you-grok-grok)
- This [blog post about the dissect filter](https://www.elastic.co/blog/logstash-dude-wheres-my-chainsaw-i-need-to-dissect-my-logs)
- This [blog post about multiple pipelines in Logstash 6.0](https://www.elastic.co/blog/logstash-multiple-pipelines)
- The [documentation around the new pipeline viewer in Logstash 6.0](https://www.elastic.co/guide/en/logstash/6.x/logstash-pipeline-viewer.html)

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [December 12, 2017, 6:46am UTC](https://discuss.elastic.co/t/how-to-improve-performance/107167/7 "2017-12-12T06:46:02Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
