mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-09-13 11:04:52 +02:00
Update to 2025-08-26 15:00
This commit is contained in:
@@ -5,10 +5,28 @@ sources:
|
|||||||
type: file
|
type: file
|
||||||
include:
|
include:
|
||||||
- /opt/zimbra/log/*.log
|
- /opt/zimbra/log/*.log
|
||||||
|
- /opt/zimbra/log/access_log*
|
||||||
|
exclude:
|
||||||
|
- /opt/zimbra/log/hs_err*
|
||||||
|
- /opt/zimbra/log/*.gz
|
||||||
|
- /opt/zimbra/log/*.pid
|
||||||
|
|
||||||
transforms:
|
transforms:
|
||||||
|
reduce_logs_zimbra_stack:
|
||||||
|
type: reduce
|
||||||
|
inputs: ["in_logs_zimbra"]
|
||||||
|
merge_strategies:
|
||||||
|
message: concat_newline
|
||||||
|
timestamp: discard
|
||||||
|
group_by:
|
||||||
|
- file
|
||||||
|
starts_when:
|
||||||
|
type: vrl
|
||||||
|
source: |
|
||||||
|
!match(string!(.message), r'^(\s+at\s|Caused by:\s|com\.zimbra\.common\.service\.ServiceException)')
|
||||||
|
|
||||||
format_logs_zimbra:
|
format_logs_zimbra:
|
||||||
type: remap
|
type: remap
|
||||||
inputs: ["in_logs_zimbra"]
|
inputs: ["reduce_logs_zimbra_stack"]
|
||||||
source: |
|
source: |
|
||||||
# Nothing to do
|
# Nothing to do
|
||||||
|
Reference in New Issue
Block a user