log4j
You can use this format to index logs in log4j format.
Example: [2019/11/19-14:18:49.590] [info] [Thread-13] [replication.manager] execute
command on 0/i0: getFilesInUse (serial=5)
5 log fields are required:
-
date:
[2019/11/19-14:18:49.590]
-
level:
[info]
-
thread:
[Thread-13]
-
logger:
[replication.manager]
-
message:
execute command on 0/i0: getFilesInUse (serial=5)