# Changing the workers number

**URL:** <https://discuss.elastic.co/t/changing-the-workers-number/197098>\
**Category:** Logstash\
**Created:** [August 28, 2019, 11:32am UTC](https://discuss.elastic.co/t/changing-the-workers-number/197098 "2019-08-28T11:32:13Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alisa\_Faingold](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alisa_faingold/32/45836_2.png) [@Alisa\_Faingold](https://discuss.elastic.co/u/Alisa_Faingold)\
**Post date:** [August 28, 2019, 11:32am UTC](https://discuss.elastic.co/t/changing-the-workers-number/197098/1 "2019-08-28T11:32:14Z")

</div>

Hi,  
I'm trying to define transactions with elapsed filter, and I got the "elapsed\_end\_without\_start" tag.  
I found that the same issue happens to other people and the solution that has been suggested is changing the workers number to 1.  
It needs to be changed in the logstach.yml or pipelines.yml?  
How can I know that it's has been changed?  
I have tried to change them both and nothing happens...

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [August 28, 2019, 11:47am UTC](https://discuss.elastic.co/t/changing-the-workers-number/197098/2 "2019-08-28T11:47:05Z")

</div>

You can change it for all pipelines using either the command line or logstash.yml. You can change it for individual pipelines using pipelines.yml.

---

<div class="post-metadata">

**Author:** ![Alisa\_Faingold](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alisa_faingold/32/45836_2.png) [@Alisa\_Faingold](https://discuss.elastic.co/u/Alisa_Faingold)\
**Post date:** [August 28, 2019, 12:39pm UTC](https://discuss.elastic.co/t/changing-the-workers-number/197098/3 "2019-08-28T12:39:26Z")

</div>

Thanks for the quick response.  
I run this command line: bin\logstash -w 1  
and nothing has been changed (I think, how can I check that?) and the problem with the elapsed\_end\_without\_start.  
How should it look in logstash.yml?

Thank you again!

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [August 28, 2019, 12:45pm UTC](https://discuss.elastic.co/t/changing-the-workers-number/197098/4 "2019-08-28T12:45:53Z")

</div>

In logstash.yml, try setting

```
pipeline.java_execution: false

```

There is a PR to fix [this](https://github.com/elastic/logstash/issues/10938) issue in-flight.

---

<div class="post-metadata">

**Author:** ![Alisa\_Faingold](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alisa_faingold/32/45836_2.png) [@Alisa\_Faingold](https://discuss.elastic.co/u/Alisa_Faingold)\
**Post date:** [August 29, 2019, 8:31am UTC](https://discuss.elastic.co/t/changing-the-workers-number/197098/5 "2019-08-29T08:31:32Z")

</div>

> [@Badger](#):
>
> ```auto
> pipeline.java_execution: false
> 
> ```

Should I just add it to the logstash.yml? there aren't these settings:  
 ![Annotation%202019-08-29%20113117](https://us1.discourse-cdn.com/elastic/original/3X/b/7/b7cf43d0959bbb5bb8dc35c0a394c904b7f87c1a.png)

---

<div class="post-metadata">

**Author:** ![Alisa\_Faingold](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alisa_faingold/32/45836_2.png) [@Alisa\_Faingold](https://discuss.elastic.co/u/Alisa_Faingold)\
**Post date:** [August 29, 2019, 12:37pm UTC](https://discuss.elastic.co/t/changing-the-workers-number/197098/6 "2019-08-29T12:37:21Z")

</div>

> [@Alisa\_Faingold](#):
>
> the logstash.yml? there aren't these settin

Unfortunately it is still not working for me, and I get "elapsed\_end\_without\_start" tag. any ideas what can I do?

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [August 29, 2019, 12:44pm UTC](https://discuss.elastic.co/t/changing-the-workers-number/197098/7 "2019-08-29T12:44:41Z")

</div>

> [@Alisa\_Faingold](#):
>
> any ideas what can I do?

No, I can't think of anything else.

---

<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:** [September 26, 2019, 12:53pm UTC](https://discuss.elastic.co/t/changing-the-workers-number/197098/8 "2019-09-26T12:53:48Z")

</div>

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