dit document beschrijft hoe je een loglocatie toevoegt in filebeat.
- type: log paths: - <pad/naar/logBestand>
sudo sytemctl restart filebeat
- type: log paths: - /var/log/*.log
- type: log paths: - /opt/trustbuilder/**/*.log
- type: log paths: - /opt/trustbuilder/tomcat-core/logs/* exclude_files: ['\.gz$']
- type: log paths: - /var/log/**/* ignore_older: 1w
exclude_files: ['\.gz$']