It needs a way to define the type of a field of the log, for example:
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.slf4j.MDC;
public class LogzioLogbackExample {
public static void main(String[] args) {
Logger logger = LoggerFactory.getLogger(LogzioLogbackExample.class);
MDC.put("CreateDate", new Date());
logger.info("This log will hold the MDC data as well");
}
}
I can't define CreateDate as Data field in the ElasticSearch model
It needs a way to define the type of a field of the log, for example:
I can't define CreateDate as Data field in the ElasticSearch model