diff --git a/scripts/index-sync-rotate.sh b/scripts/index-sync-rotate.sh index 1d0c5bf..9023fe6 100755 --- a/scripts/index-sync-rotate.sh +++ b/scripts/index-sync-rotate.sh @@ -47,7 +47,20 @@ json_logger() { "logger": "'"${self}"'", "pidTid": "'$$'", "function": "'"${FUNCNAME[0]}"'", - "message": . + "message": ., + "event": { + "created": "'"${timestamp}"'" + }, + "log": { + "level": "'"${log_level}"'", + "logger": "'"${self}"'", + "origin": { + "function": "'"${FUNCNAME[0]}"'" + } + }, + "process": { + "pid": "'$$'" + } }' }