Skip to content

Commit

Permalink
Fix cassandra and icmp comments in packetbeat.yml (elastic#22584)
Browse files Browse the repository at this point in the history
* Uniform cassandra comment in packetbeat.yml

* Fix icmp comment in packetbeat.yml

* Uniform SIP comment in packetbeat.yml

* Update the config templates

Co-authored-by: Andrew Kroh <[email protected]>
  • Loading branch information
yzdann and andrewkroh authored Jan 24, 2021
1 parent 621c9e2 commit 6cad281
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 8 deletions.
2 changes: 1 addition & 1 deletion packetbeat/_meta/config/beat.reference.yml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ packetbeat.flows:

packetbeat.protocols:
- type: icmp
# Enable ICMPv4 and ICMPv6 monitoring. Default: true
# Enable ICMPv4 and ICMPv6 monitoring. The default is true.
#enabled: true

# Set to true to publish fields with null values in events.
Expand Down
8 changes: 5 additions & 3 deletions packetbeat/_meta/config/beat.yml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ packetbeat.flows:

packetbeat.protocols:
- type: icmp
# Enable ICMPv4 and ICMPv6 monitoring. Default: false
# Enable ICMPv4 and ICMPv6 monitoring. The default is true.
enabled: true

- type: amqp
Expand All @@ -47,7 +47,8 @@ packetbeat.protocols:
ports: [5672]

- type: cassandra
#Cassandra port for traffic monitoring.
# Configure the ports where to listen for Cassandra traffic. You can disable
# the Cassandra protocol by commenting out the list of ports.
ports: [9042]

- type: dhcpv4
Expand Down Expand Up @@ -112,7 +113,8 @@ packetbeat.protocols:
- 9243 # Elasticsearch

- type: sip
# Configure the ports where to listen for SIP traffic. You can disable the SIP protocol by commenting out the list of ports.
# Configure the ports where to listen for SIP traffic. You can disable
# the SIP protocol by commenting out the list of ports.
ports: [5060]

{{header "Elasticsearch template setting"}}
Expand Down
2 changes: 1 addition & 1 deletion packetbeat/packetbeat.reference.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ packetbeat.flows:

packetbeat.protocols:
- type: icmp
# Enable ICMPv4 and ICMPv6 monitoring. Default: true
# Enable ICMPv4 and ICMPv6 monitoring. The default is true.
#enabled: true

# Set to true to publish fields with null values in events.
Expand Down
8 changes: 5 additions & 3 deletions packetbeat/packetbeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ packetbeat.flows:

packetbeat.protocols:
- type: icmp
# Enable ICMPv4 and ICMPv6 monitoring. Default: false
# Enable ICMPv4 and ICMPv6 monitoring. The default is true.
enabled: true

- type: amqp
Expand All @@ -47,7 +47,8 @@ packetbeat.protocols:
ports: [5672]

- type: cassandra
#Cassandra port for traffic monitoring.
# Configure the ports where to listen for Cassandra traffic. You can disable
# the Cassandra protocol by commenting out the list of ports.
ports: [9042]

- type: dhcpv4
Expand Down Expand Up @@ -112,7 +113,8 @@ packetbeat.protocols:
- 9243 # Elasticsearch

- type: sip
# Configure the ports where to listen for SIP traffic. You can disable the SIP protocol by commenting out the list of ports.
# Configure the ports where to listen for SIP traffic. You can disable
# the SIP protocol by commenting out the list of ports.
ports: [5060]

# ======================= Elasticsearch template setting =======================
Expand Down

0 comments on commit 6cad281

Please sign in to comment.