# \[Logstash Performance\]

**URL:** <https://discuss.elastic.co/t/logstash-performance/36904>\
**Category:** Logstash\
**Created:** [December 10, 2015, 7:06pm UTC](https://discuss.elastic.co/t/logstash-performance/36904 "2015-12-10T19:06:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![varun\_kumar1](https://avatars.discourse-cdn.com/v4/letter/v/ac91a4/32.png) [@varun\_kumar1](https://discuss.elastic.co/u/varun_kumar1)\
**Post date:** [December 10, 2015, 7:06pm UTC](https://discuss.elastic.co/t/logstash-performance/36904/1 "2015-12-10T19:06:46Z")

</div>

I am running logstash with the following config

input {  
file{  
path =\> "D:/Log/_/MIP/_"  
start\_position =\> "beginning"

```
}

```

}

filter{  
mutate{  
gsub =\> ["path","D:/Log/", ""]   
}

}

output {  
stdout {  
codec =\> line {  
format =\> "%{path}"  
}  
}

```
            file{
		path => "Z:/Logs/%{host}/%{path}"
		message_format => "%{message}"
		flush_interval => 0

```

}

}

The input log file location is as follows  
D:\Log\3c238437-5e11-4c5c-bb16-c757794543b1\MIP\MipLogger.log

The file size is 84.7 MB

I am seeing its taking more than 30 minutes to get the output in the resultant shared location .Am I doing something wrong .If not what is the issue .

Below is my computer config

Windows 8  
Processor Intel(R) Core(TM) i7-4900MQ CPU  
RAM 16 GB

---

<div class="post-metadata">

**Author:** ![varun\_kumar1](https://avatars.discourse-cdn.com/v4/letter/v/ac91a4/32.png) [@varun\_kumar1](https://discuss.elastic.co/u/varun_kumar1)\
**Post date:** [December 11, 2015, 6:37pm UTC](https://discuss.elastic.co/t/logstash-performance/36904/2 "2015-12-11T18:37:47Z")

</div>

Hello,  
Can I have any update on this issue.

---

<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:** [December 11, 2015, 7:39pm UTC](https://discuss.elastic.co/t/logstash-performance/36904/3 "2015-12-11T19:39:14Z")

</div>

If you are looking for performance, you should probably not flush after every message, which is what setting the ['flush interval'](https://www.elastic.co/guide/en/logstash/current/plugins-outputs-file.html#plugins-outputs-file-flush_interval) to 0 does. Stick with the default settings and comment out the stdout output and see what impact that has.

---

<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:** [July 6, 2017, 5:18am UTC](https://discuss.elastic.co/t/logstash-performance/36904/4 "2017-07-06T05:18:47Z")

</div>


