ports/sysutils/beats/files/patch-packetbeat_packetbeat.yml
Palle Girgensohn 3699585a7f Update to 5.2.1
The three elasticsearch beats ports have merged into one single port
systuils/beats that installs all of the above and some more. The reason is to
make the port more maintainable and also that the new heartbeat beat would
conflict with sysutils/heartbeat.

Add heartbeat beat.

Install utilities
  share/beats/import_dashboards
  share/beats/migrate_beat_config_1_x_to_5_0.py

Fix problems with the default configurations [1]

PR:	217081 [1]
2017-02-21 01:27:07 +00:00

21 lines
918 B
YAML

--- packetbeat/packetbeat.yml.orig 2017-02-09 16:20:52.000000000 +0100
+++ packetbeat/packetbeat.yml 2017-02-21 02:04:13.919394000 +0100
@@ -10,8 +10,10 @@
#============================== Network device ================================
# Select the network interface to sniff the data. On Linux, you can use the
-# "any" keyword to sniff on all connected interfaces.
-packetbeat.interfaces.device: any
+# "any" keyword to sniff on all connected interfaces. FreeBSD is a bit different
+# and the beats programmers did not bother to implement it, so you must set this
+# to your preferred device
+packetbeat.interfaces.device: em0
#================================== Flows =====================================
@@ -147,3 +149,5 @@
# To enable all selectors use ["*"]. Examples of other selectors are "beat",
# "publish", "service".
#logging.selectors: ["*"]
+logging.to_syslog: true
+logging.to_files: false