You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ponymail.apache.org by hu...@apache.org on 2021/03/29 13:10:40 UTC
[incubator-ponymail-foal] 03/19: Create mappings for audit log
This is an automated email from the ASF dual-hosted git repository.
humbedooh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-foal.git
commit 73945a0c0199b54c0c3f7891e25c5f52be457aaa
Author: Daniel Gruno <hu...@apache.org>
AuthorDate: Mon Mar 29 10:09:50 2021 +0200
Create mappings for audit log
The audit log will contain information about changes to stored objects.
Examples could be: indexing an email, hiding attachments, changing LID.
---
tools/mappings.yaml | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/tools/mappings.yaml b/tools/mappings.yaml
index 10984b8..d927752 100644
--- a/tools/mappings.yaml
+++ b/tools/mappings.yaml
@@ -136,3 +136,21 @@ source:
type: keyword
source:
type: binary
+auditlog:
+ properties:
+ id:
+ type: keyword
+ date:
+ format: yyyy/MM/dd HH:mm:ss
+ store: true
+ type: date
+ author:
+ type: keyword
+ remote:
+ type: keyword
+ action:
+ type: keyword
+ target:
+ type: keyword
+ log:
+ type: text