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/error_{{ log }}.log"
|
||||
fields:
|
||||
source: {{ log }}
|
||||
source: {{ log | regex_replace('\*') }}
|
||||
|
||||
{% endfor %}
|
||||
|
||||
|
|
Loading…
Reference in New Issue