Basic Filebeat config

This commit is contained in:
2023-03-16 14:47:48 +01:00
parent 02ac7e09d3
commit 2b649e0dc5
2 changed files with 24 additions and 0 deletions

2
Filebeat/Dockerfile Normal file
View File

@@ -0,0 +1,2 @@
FROM docker.elastic.co/beats/filebeat:8.6.2
COPY --chown=root:filebeat filebeat.docker.yml /usr/share/filebeat/filebeat.yml

View File

@@ -0,0 +1,22 @@
filebeat.config:
modules:
path: ${path.config}/modules.d/*.yml
reload.enabled: false
filebeat.autodiscover:
providers:
- type: docker
hints.enabled: true
processors:
- add_cloud_metadata: ~
output.elasticsearch:
hosts: '${ELASTICSEARCH_HOSTS:elc-0.zipper.release11.com:9200}'
index: 'xmltools-dev-%{+yyyy.MM}'
setup.template:
name: 'xmltools-dev'
pattern: 'xmltools-*'
enabled: false