# I got the this error=\>#\<ArgumentError: Setting "pipeline.batch" hasn't been registered

**URL:** <https://discuss.elastic.co/t/i-got-the-this-error-argumenterror-setting-pipeline-batch-hasnt-been-registered/183305>\
**Category:** Logstash\
**Created:** [May 29, 2019, 10:36am UTC](https://discuss.elastic.co/t/i-got-the-this-error-argumenterror-setting-pipeline-batch-hasnt-been-registered/183305 "2019-05-29T10:36:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![santoshbhagat](https://avatars.discourse-cdn.com/v4/letter/s/ee59a6/32.png) [@santoshbhagat](https://discuss.elastic.co/u/santoshbhagat)\
**Post date:** [May 29, 2019, 10:36am UTC](https://discuss.elastic.co/t/i-got-the-this-error-argumenterror-setting-pipeline-batch-hasnt-been-registered/183305/1 "2019-05-29T10:36:57Z")

</div>

Sending Logstash logs to E:/Software/ELK/logstash-7.0.1/logstash-7.0.1/logs which is now configured via log4j2.properties  
15:53:13.943 [main] DEBUG logstash.modules.scaffold - Found module {:module\_name=\>"fb\_apache", :directory=\>"E:/Software/ELK/logstash-7.0.1/logstash-7.0.1/modules/fb\_apache/configur  
ation"}  
15:53:13.943 [main] DEBUG logstash.plugins.registry - Adding plugin to the registry {:name=\>"fb\_apache", :type=\>:modules, :class=\>#\<LogStash::Modules::Scaffold:0x1d904637 @director  
y="E:/Software/ELK/logstash-7.0.1/logstash-7.0.1/modules/fb\_apache/configuration", @module\_name="fb\_apache", @kibana\_version\_parts=["6", "0", "0"]\>}  
15:53:13.943 [main] DEBUG logstash.modules.scaffold - Found module {:module\_name=\>"netflow", :directory=\>"E:/Software/ELK/logstash-7.0.1/logstash-7.0.1/modules/netflow/configuratio  
n"}  
15:53:13.943 [main] DEBUG logstash.plugins.registry - Adding plugin to the registry {:name=\>"netflow", :type=\>:modules, :class=\>#\<LogStash::Modules::Scaffold:0x59bedf4d @directory=  
"E:/Software/ELK/logstash-7.0.1/logstash-7.0.1/modules/netflow/configuration", @module\_name="netflow", @kibana\_version\_parts=["6", "0", "0"]\>}  
15:53:13.959 [main] FATAL logstash.runner - An unexpected error occurred! {:error=\>#\<ArgumentError: Setting "pipeline.batch" hasn't been registered\>, :backtrace=\>["E:/Software/ELK/  
logstash-7.0.1/logstash-7.0.1/logstash-core/lib/logstash/settings.rb:36:in `get_setting'", "E:/Software/ELK/logstash-7.0.1/logstash-7.0.1/logstash-core/lib/logstash/settings.rb:69: in`set\_value'", "E:/Software/ELK/logstash-7.0.1/logstash-7.0.1/logstash-core/lib/logstash/settings.rb:88:in `block in merge'", "org/jruby/RubyHash.java:1419:in`each'", "E:/Softwa  
re/ELK/logstash-7.0.1/logstash-7.0.1/logstash-core/lib/logstash/settings.rb:88:in `merge'", "E:/Software/ELK/logstash-7.0.1/logstash-7.0.1/logstash-core/lib/logstash/settings.rb:13 7:in`validate\_all'", "E:/Software/ELK/logstash-7.0.1/logstash-7.0.1/logstash-core/lib/logstash/runner.rb:278:in `execute'", "E:/Software/ELK/logstash-7.0.1/logstash-7.0.1/vendor/b undle/jruby/2.5.0/gems/clamp-0.6.5/lib/clamp/command.rb:67:in`run'", "E:/Software/ELK/logstash-7.0.1/logstash-7.0.1/logstash-core/lib/logstash/runner.rb:237:in `run'", "E:/Softwar e/ELK/logstash-7.0.1/logstash-7.0.1/vendor/bundle/jruby/2.5.0/gems/clamp-0.6.5/lib/clamp/command.rb:132:in`run'", "E:\Software\ELK\logstash-7.0.1\logstash-7.0.1\lib\bootstra  
p\environment.rb:73:in `'"]}

========================================================================  
#-----------------------Logstash.yml-----------------------------------------#

# Settings can be specified either in hierarchical form, e.g.:

pipeline:

```
  batch:
  
    size: 125
  
    delay: 5

```

# This defaults to the number of the host's CPU cores.

pipeline.workers: 5

# How many workers should be used per output plugin instance

pipeline.output.workers: 5

# How many events to retrieve from inputs before sending to filters+workers

pipeline.batch.size: 125

# How long to wait in milliseconds while polling for the next event

# before dispatching an undersized batch to filters+outputs

pipeline.batch.delay: 50

# ------------ Pipeline Configuration Settings --------------

# 

# 

Where to fetch the pipeline configuration for the main pipeline

# 

path.config: E:\Software\ELK\logstash-7.0.1\logstash-7.0.1\config\demo-metrics-pipeline.conf  
config.debug: true

# ------------ Module Settings ---------------

# 

Define modules here. Modules definitions must be defined as an array.

# The simple way to see this is to prepend each `name` with a `-`, and keep

# all associated variables

under the `name` they are associated with, and

# above the next, like this:

modules:

- name: netflow

---

<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:** [May 29, 2019, 12:12pm UTC](https://discuss.elastic.co/t/i-got-the-this-error-argumenterror-setting-pipeline-batch-hasnt-been-registered/183305/2 "2019-05-29T12:12:06Z")

</div>

> [@santoshbhagat](#):
>
> error=\>#\<ArgumentError: Setting "pipeline.batch" hasn't been registered\>

That suggests a problem with the indentation or other formatting of your logstash.yml.

Please edit your post, select the configuration, and click on \</\> in the toolbar above the edit pane. You should see an obvious change in the format in the preview pane to the right of the edit pane.

---

<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:** [June 26, 2019, 12:12pm UTC](https://discuss.elastic.co/t/i-got-the-this-error-argumenterror-setting-pipeline-batch-hasnt-been-registered/183305/3 "2019-06-26T12:12:10Z")

</div>

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