Skip to content
Snippets Groups Projects
Commit 3688e172 authored by nimrod's avatar nimrod
Browse files

fixup! Setup beats.

parent 3f7a048e
No related branches found
No related tags found
No related merge requests found
Pipeline #1479 passed with warnings
......@@ -17,3 +17,5 @@ processors:
filebeat.inputs:
- type: container
enabled: true
paths:
- /var/lib/docker/containers/*/*.log
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
......@@ -9,6 +9,7 @@ logging:
http:
enabled: true
port: 5077
processors:
- add_host_metadata: ~
......
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
......@@ -9,6 +9,7 @@ logging:
http:
enabled: true
port: 5088
processors:
- add_host_metadata: ~
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment