How to use grok then start a record with time


(aabababba) #1
Nov 06, 2018 3:29:10 PM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet [spring] in context with path [] threw exception [Request processing failed; nested exception is java.lang.ArrayIndexOutOfBoundsException] with root cause
java.lang.ArrayIndexOutOfBoundsException

%{HAPROXYTIME:logtime} and %{TIMESTAMP_ISO8601:logtime} not work


(Andreas H) #2

If the standard time formats do not work then you have to make your own like this:

%{MONTH} %{MONTHDAY}, %{YEAR} %{TIME} %{WORD:AMorPM}


(aabababba) #3

thanks you,only this way now。。。


(system) #4

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.