mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 22:57:16 -04:00
* Add workers and batch_size to root request * Add batch delay per review recommendation
This commit is contained in:
parent
c918082617
commit
20fc465510
1 changed files with 5 additions and 0 deletions
|
@ -15,6 +15,11 @@ module LogStash
|
|||
:ephemeral_id => service.agent.ephemeral_id,
|
||||
:status => "green", # This is hard-coded to mirror x-pack behavior
|
||||
:snapshot => ::BUILD_INFO["build_snapshot"],
|
||||
:pipeline => {
|
||||
:workers => LogStash::SETTINGS.get("pipeline.workers"),
|
||||
:batch_size => LogStash::SETTINGS.get("pipeline.batch.size"),
|
||||
:batch_delay => LogStash::SETTINGS.get("pipeline.batch.delay"),
|
||||
}
|
||||
}
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue