Commit 3688e172 authored by nimrod's avatar nimrod
Browse files

fixup! Setup beats.

parent 3f7a048e
Loading
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -17,3 +17,5 @@ processors:
filebeat.inputs:
  - type: container
    enabled: true
    paths:
      - /var/lib/docker/containers/*/*.log
+1 −1
Original line number Diff line number Diff line
FROM docker.elastic.co/beats/metricbeat-oss:7.12.1
COPY --chown=root:metricbeat metricbeat.yml /usr/share/metricbeat/metricbeat.yml
#RUN metricbeat test config
HEALTHCHECK CMD curl --fail http://localhost:5066/stats || exit 1
HEALTHCHECK CMD curl --fail http://localhost:5077/stats || exit 1
+1 −0
Original line number Diff line number Diff line
@@ -9,6 +9,7 @@ logging:

http:
  enabled: true
  port: 5077

processors:
  - add_host_metadata: ~
+1 −1
Original line number Diff line number Diff line
FROM docker.elastic.co/beats/packetbeat-oss:7.12.1
COPY --chown=root:packetbeat packetbeat.yml /usr/share/packetbeat/packetbeat.yml
#RUN packetbeat test config
HEALTHCHECK CMD curl --fail http://localhost:5066/stats || exit 1
HEALTHCHECK CMD curl --fail http://localhost:5088/stats || exit 1
+1 −0
Original line number Diff line number Diff line
@@ -9,6 +9,7 @@ logging:

http:
  enabled: true
  port: 5088

processors:
  - add_host_metadata: ~