From 621e5c1cf819d797b77168dff12174a0fa8cc7e2 Mon Sep 17 00:00:00 2001 From: Mike Reeves Date: Tue, 13 Apr 2021 19:18:10 -0400 Subject: [PATCH] Enable Filebeat Stats --- salt/filebeat/etc/filebeat.yml | 5 +++-- salt/filebeat/init.sls | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/salt/filebeat/etc/filebeat.yml b/salt/filebeat/etc/filebeat.yml index c680d61c1..f6d3c5334 100644 --- a/salt/filebeat/etc/filebeat.yml +++ b/salt/filebeat/etc/filebeat.yml @@ -493,12 +493,13 @@ setup.template.enabled: false # append ?pretty to the URL. # Defines if the HTTP endpoint is enabled. -#http.enabled: false +http.enabled: true # The HTTP endpoint will bind to this hostname or IP address. It is recommended to use only localhost. -#http.host: localhost +http.host: localhost # Port on which the HTTP endpoint will bind. Default is 5066. +http.port: 5066 queue.mem.events: {{ FBMEMEVENTS }} queue.mem.flush.min_events: {{ FBMEMFLUSHMINEVENTS }} diff --git a/salt/filebeat/init.sls b/salt/filebeat/init.sls index 339d307ee..4d7f81819 100644 --- a/salt/filebeat/init.sls +++ b/salt/filebeat/init.sls @@ -74,6 +74,7 @@ so-filebeat: - port_bindings: - 0.0.0.0:514:514/udp - 0.0.0.0:514:514/tcp + - 0.0.0.0:5066/tcp - watch: - file: /opt/so/conf/filebeat/etc/filebeat.yml