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

[Packetbeat] Refactor packetbeat for use with Elastic Agent #22134

Merged
merged 9 commits into from
Nov 3, 2020
Merged
Show file tree
Hide file tree
Changes from 5 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
1 change: 1 addition & 0 deletions CHANGELOG.next.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -782,6 +782,7 @@ https://github.com/elastic/beats/compare/v7.0.0-alpha2...master[Check the HEAD d
- Add ECS fields for x509 certs, event categorization, and related IP info. {pull}19167[19167]
- Add 100-continue support {issue}15830[15830] {pull}19349[19349]
- Add initial SIP protocol support {pull}21221[21221]
- Add support for overriding the published index on a per-protoocl/flow basis. {pull}22134[22134]
andrewstucki marked this conversation as resolved.
Show resolved Hide resolved
- Change build process for x-pack distribution {pull}21979[21979]


Expand Down
45 changes: 45 additions & 0 deletions packetbeat/_meta/config/beat.reference.yml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ packetbeat.flows:
# Set to true to publish fields with null values in events.
#keep_null: false

# Overrides where flow events are indexed.
#index: my-custom-flow-index

{{header "Transaction protocols"}}

packetbeat.protocols:
Expand All @@ -73,6 +76,9 @@ packetbeat.protocols:
# Set to true to publish fields with null values in events.
#keep_null: false

# Overrides where this protocol's events are indexed.
#index: my-custom-icmp-index

- type: amqp
# Enable AMQP monitoring. Default: true
#enabled: true
Expand Down Expand Up @@ -113,6 +119,9 @@ packetbeat.protocols:
# incoming responses, but sent to Elasticsearch immediately.
#transaction_timeout: 10s

# Overrides where this protocol's events are indexed.
#index: my-custom-amqp-index

- type: cassandra
#Cassandra port for traffic monitoring.
ports: [9042]
Expand Down Expand Up @@ -143,6 +152,9 @@ packetbeat.protocols:
# This option indicates which Operator/Operators will be ignored.
#ignored_ops: ["SUPPORTED","OPTIONS"]

# Overrides where this protocol's events are indexed.
#index: my-custom-cassandra-index

- type: dhcpv4
# Configure the DHCP for IPv4 ports.
ports: [67, 68]
Expand Down Expand Up @@ -183,6 +195,9 @@ packetbeat.protocols:
# incoming responses, but sent to Elasticsearch immediately.
#transaction_timeout: 10s

# Overrides where this protocol's events are indexed.
#index: my-custom-dhcpv4-index

- type: http
# Enable HTTP monitoring. Default: true
#enabled: true
Expand Down Expand Up @@ -257,6 +272,9 @@ packetbeat.protocols:
# be trimmed to this size. Default is 10 MB.
#max_message_size: 10485760

# Overrides where this protocol's events are indexed.
#index: my-custom-http-index

- type: memcache
# Enable memcache monitoring. Default: true
#enabled: true
Expand Down Expand Up @@ -309,6 +327,9 @@ packetbeat.protocols:
# incoming responses, but sent to Elasticsearch immediately.
#transaction_timeout: 10s

# Overrides where this protocol's events are indexed.
#index: my-custom-memcache-index

- type: mysql
# Enable mysql monitoring. Default: true
#enabled: true
Expand All @@ -332,6 +353,9 @@ packetbeat.protocols:
# incoming responses, but sent to Elasticsearch immediately.
#transaction_timeout: 10s

# Overrides where this protocol's events are indexed.
#index: my-custom-mysql-index

- type: pgsql
# Enable pgsql monitoring. Default: true
#enabled: true
Expand All @@ -355,6 +379,9 @@ packetbeat.protocols:
# incoming responses, but sent to Elasticsearch immediately.
#transaction_timeout: 10s

# Overrides where this protocol's events are indexed.
#index: my-custom-pgsql-index

- type: redis
# Enable redis monitoring. Default: true
#enabled: true
Expand Down Expand Up @@ -387,6 +414,9 @@ packetbeat.protocols:
# large enough to allow for pipelining.
#queue_max_messages: 20000

# Overrides where this protocol's events are indexed.
#index: my-custom-redis-index

- type: thrift
# Enable thrift monitoring. Default: true
#enabled: true
Expand Down Expand Up @@ -445,6 +475,9 @@ packetbeat.protocols:
# incoming responses, but sent to Elasticsearch immediately.
#transaction_timeout: 10s

# Overrides where this protocol's events are indexed.
#index: my-custom-thrift-index

- type: mongodb
# Enable mongodb monitoring. Default: true
#enabled: true
Expand Down Expand Up @@ -478,6 +511,9 @@ packetbeat.protocols:
# incoming responses, but sent to Elasticsearch immediately.
#transaction_timeout: 10s

# Overrides where this protocol's events are indexed.
#index: my-custom-mongodb-index

- type: nfs
# Enable NFS monitoring. Default: true
#enabled: true
Expand All @@ -501,6 +537,9 @@ packetbeat.protocols:
# incoming responses, but sent to Elasticsearch immediately.
#transaction_timeout: 10s

# Overrides where this protocol's events are indexed.
#index: my-custom-nfs-index

- type: tls
# Enable TLS monitoring. Default: true
#enabled: true
Expand Down Expand Up @@ -531,6 +570,9 @@ packetbeat.protocols:
# Set to true to publish fields with null values in events.
#keep_null: false

# Overrides where this protocol's events are indexed.
#index: my-custom-tls-index

- type: sip
# Configure the ports where to listen for SIP traffic. You can disable the SIP protocol by commenting out the list of ports.
ports: [5060]
Expand All @@ -544,6 +586,9 @@ packetbeat.protocols:
# Preserve original contents in event.original
keep_original: true

# Overrides where this protocol's events are indexed.
#index: my-custom-sip-index

{{header "Monitored processes"}}

# Packetbeat can enrich events with information about the process associated
Expand Down
Loading