Skip to content
Snippets Groups Projects
Commit 301970a5 authored by Arne Øslebø's avatar Arne Øslebø
Browse files

added logging from haproxy

parent b3435a05
No related branches found
No related tags found
No related merge requests found
filebeat.inputs:
{% if FILEBEAT_FILES is defined %}
- type: log
paths:
{% for file in FILEBEAT_FILES %}
- {{ file }}
{% endfor %}
{% else %}
- type: syslog
protocol.udp:
host: "localhost:{{ FILEBEAT_SYSLOG_PORT }}"
{% endif %}
fields:
log_type: {{ FILEBEAT_LOG_TYPE }}
......
global
#quiet
log stdout format raw local0
log 127.0.0.1:9000 local0
nbproc {{ HAPROXY_PROCESSES }}
ssl-default-bind-ciphers ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384
ssl-default-bind-options prefer-client-ciphers no-sslv3 no-tlsv10 no-tlsv11 no-tls-tickets
......
......@@ -35,5 +35,5 @@ dsoclab-nifi-3 ansible_connection=docker FILEBEAT_FILES='["/opt/nifi/nifi-curren
#dsoclab-keycloak ansible_connection=docker FILEBEAT_FILES='[""]'
#dsoclab-mysql ansible_connection=docker FILEBEAT_FILES='[""]'
#dsoclab-misp ansible_connection=docker FILEBEAT_FILES='[""]'
#dsoclab-haproxy ansible_connection=docker FILEBEAT_FILES='[""]'
dsoclab-haproxy ansible_connection=docker FILEBEAT_SYSLOG_PORT=9000 FILEBEAT_LOG_TYPE="haproxy"
#dsoclab-zookeeper ansible_connection=docker FILEBEAT_FILES='[""]'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment