Compare commits
2 Commits
e6c0cc02a3
...
80ce44f981
Author | SHA1 | Date |
---|---|---|
pengln | 80ce44f981 | |
pengln | 01c1711df9 |
|
@ -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