mirror of
https://github.com/luzifer-docker/vault-es-audit.git
synced 2024-11-09 13:20:01 +00:00
29 lines
481 B
YAML
29 lines
481 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
|
||
|
|
||
|
setup.template.enabled: true
|
||
|
setup.template.name: "vault-audit"
|
||
|
setup.template.pattern: "vault-audit-*"
|
||
|
setup.template.overwrite: true
|
||
|
|
||
|
...
|