Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[netflow] add workers option #11025

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions packages/netflow/changelog.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# newer versions go on top
- version: "2.20.0"
changes:
- description: Add a new configuration option to control the number of NetFlow workers. This allows for the allocation of additional compute resources to read and decode NetFlow packets. The feature only takes effect under Elastic Agent 8.16 or greater.
type: enhancement
link: https://github.com/elastic/integrations/pull/11025
- version: "2.19.1"
changes:
- description: Use triple-brace Mustache templating when referencing variables in ingest pipelines.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
protocols: [v1, v5, v6, v7, v8, v9, ipfix]
host: '{{host}}:{{port}}'
max_message_size: '{{max_message_size}}'
workers: {{workers}}
expiration_timeout: '{{expiration_timeout}}'
queue_size: {{queue_size}}
{{#if timeout}}
Expand Down
8 changes: 8 additions & 0 deletions packages/netflow/data_stream/log/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,14 @@ streams:
multi: true
required: false
show_user: true
- name: workers
type: integer
title: Number of Workers
description: The number of workers to read and decode concurrently netflow packets. Note that in order to maximize the performance gains of multiple workers it is highly advised to switch the corresponding output to the `throughput` preset.
multi: false
required: false
show_user: false
default: 1
- name: queue_size
type: integer
title: Maximum number of packets that can be queued for processing
Expand Down
2 changes: 1 addition & 1 deletion packages/netflow/manifest.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
format_version: "3.0.3"
name: netflow
title: NetFlow Records
version: "2.19.1"
version: "2.20.0"
description: Collect flow records from NetFlow and IPFIX exporters with Elastic Agent.
type: integration
categories:
Expand Down