# Ouput Explanation of lsperfm - logstash performance testing

**URL:** <https://discuss.elastic.co/t/ouput-explanation-of-lsperfm-logstash-performance-testing/25281>\
**Category:** Logstash\
**Created:** [July 10, 2015, 4:40am UTC](https://discuss.elastic.co/t/ouput-explanation-of-lsperfm-logstash-performance-testing/25281 "2015-07-10T04:40:28Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Deb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/deb/32/46162_2.png) [@Deb](https://discuss.elastic.co/u/Deb)\
**Post date:** [July 10, 2015, 4:40am UTC](https://discuss.elastic.co/t/ouput-explanation-of-lsperfm-logstash-performance-testing/25281/1 "2015-07-10T04:40:28Z")

</div>

Hi,

I am trying to use [lsperfm](https://github.com/elastic/logstash-performance-testing), a logstash peformance testing tool. I have followed their installation instruction as mentioned in the README.md in their github wiki. I have logstash 1.5.2 installed in `logstash 1.5.2/`.

I faced a problem in the [bootstrap](https://github.com/elastic/logstash-performance-testing#bootstrap) step. After executing `rake bootstrap` and `lsperfm-deps` when I tried to execute `bin/logstash deps` it threw me an error `No such command "deps"`. Other than this the installation went fine.

On executing lsperm from my logstash root directory. I got the below output:-

```
.................................................................................................................................................................................................................................................................................................................................simple line in/out,7.94,120.33,2688000,22339,28700.00,27043
simple line in/json out,13.03,120.32,2682000,22291,29600.00,27300
json codec in/out,8.65,120.04,1896000,15795,19500.00,18652
line in/json filter/json out,7.96,120.18,1398000,11633,17200.00,14226
apache in/json out,8.37,120.08,2372040,19755,28000.00,26260
apache in/grok codec/json out,7.82,120.11,1051380,8753,11000.00,10365
syslog in/json out,9.14,120.81,294000,2434,3000.00,2882

```

Can some please explain me this output? What does each of this comma-seperated values signify?

---

<div class="post-metadata">

**Author:** ![purbon](https://avatars.discourse-cdn.com/v4/letter/p/edb3f5/32.png) [@purbon](https://discuss.elastic.co/u/purbon)\
**Post date:** [July 10, 2015, 9:01am UTC](https://discuss.elastic.co/t/ouput-explanation-of-lsperfm-logstash-performance-testing/25281/2 "2015-07-10T09:01:58Z")

</div>

> [@Deb](#):
>
> lsperfm

Thanks for testing this gem, however I must tell you nowadays this is still experimental, so things can change a lot till version 1.0 😄.

Regarding the installation procedures, this part is completely misleading, thanks for noticing the bug. `bin/logstash deps` is only for versions before `1.5`. This is why you are able to run the test without problems.

Regarding the output, this is a bug, you should see explanatory headers, but the output is missing them. I will explain, briefly what they are here in order as they appear:

- The name of the test.
- The time necessary to bootstrap/start logstash for this test.
- How long the test was running.
- Number of events processed.
- Average events per second during the test.
- Best events per second during the test.
- Top 20% average events per second during the test.

As you could imagine this is basically feeding different data and different configurations to Logstash to then get some numbers out. You can see the configurations used inside the defaults directory.

/cheers

- purbon

---

<div class="post-metadata">

**Author:** ![Deb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/deb/32/46162_2.png) [@Deb](https://discuss.elastic.co/u/Deb)\
**Post date:** [July 17, 2015, 11:02am UTC](https://discuss.elastic.co/t/ouput-explanation-of-lsperfm-logstash-performance-testing/25281/3 "2015-07-17T11:02:45Z")

</div>

Hi Purbon,

I have a doubt regarding the "The time necessary to bootstrap/start logstash for this test." (`bTime`), "How long the test was running" (`exeTime`) and the "test duration" in the suites(`dur`).

1. Does `dur` include `bTime` as well or the test runs for `dur` after doing the bootstrapping for `bTIme`?
2. What does `exeTime` signify? I have seen `dur` is not equal to `exeTime` some times.

---

<div class="post-metadata">

**Author:** ![Vachan.Da](https://avatars.discourse-cdn.com/v4/letter/v/ccd318/32.png) [@Vachan.Da](https://discuss.elastic.co/u/Vachan.Da)\
**Post date:** [December 1, 2015, 1:01pm UTC](https://discuss.elastic.co/t/ouput-explanation-of-lsperfm-logstash-performance-testing/25281/4 "2015-12-01T13:01:39Z")

</div>

How to use this tool with custom logstash configuration, which reads from file for input?

---

<div class="post-metadata">

**Author:** ![Deb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/deb/32/46162_2.png) [@Deb](https://discuss.elastic.co/u/Deb)\
**Post date:** [December 7, 2015, 10:09am UTC](https://discuss.elastic.co/t/ouput-explanation-of-lsperfm-logstash-performance-testing/25281/5 "2015-12-07T10:09:28Z")

</div>

Mention the input file in your suites. Please refer a sample suite [here](https://drive.google.com/file/d/0B_2wjnHwlwwcNWNfX1Z3cEJVREU/view?usp=sharing) which reads from a input file named `catalog.txt` placed under `input` folder.

---

<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:19am UTC](https://discuss.elastic.co/t/ouput-explanation-of-lsperfm-logstash-performance-testing/25281/6 "2017-07-06T05:19:47Z")

</div>


