Reviewed-on: https://app.amonstack.com:10301/gitea/ansible-collection/filebeat/pulls/3
This commit is contained in:
commit
80ce44f981
|
@ -7,7 +7,7 @@ filebeat.inputs:
|
||||||
- "/data/log/nginx/access_{{ log }}.log"
|
- "/data/log/nginx/access_{{ log }}.log"
|
||||||
- "/data/log/nginx/error_{{ log }}.log"
|
- "/data/log/nginx/error_{{ log }}.log"
|
||||||
fields:
|
fields:
|
||||||
source: {{ log }}
|
source: {{ log | regex_replace('\*') }}
|
||||||
|
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue