mirror of
https://github.com/luzifer-docker/vault-es-audit.git
synced 2024-11-08 12:50:00 +00:00
29 lines
516 B
YAML
29 lines
516 B
YAML
---
|
|
|
|
filebeat.prospectors:
|
|
- type: log
|
|
enabled: true
|
|
paths:
|
|
- /var/log/vault/*.log
|
|
json.keys_under_root: true
|
|
json.overwrite_keys: true
|
|
|
|
output.elasticsearch:
|
|
hosts:
|
|
- ${HOST}
|
|
|
|
protocol: ${PROTOCOL:http}
|
|
username: ${USERNAME:}
|
|
password: ${PASSWORD:}
|
|
|
|
index: "vault-audit-%{+yyyy.MM.dd}"
|
|
|
|
path.home: /opt/filebeat
|
|
path.data: /var/log/vault/es-audit
|
|
|
|
setup.template.enabled: true
|
|
setup.template.name: "vault-audit"
|
|
setup.template.pattern: "vault-audit-*"
|
|
setup.template.overwrite: true
|
|
|
|
...
|