I have a field that can look like this: 23:59:47
I tried using
%{HOUR:hour}:%{MINUTE:minute}:%{SECOND:second}
as a pattern, but that gives me the generic grokparsefailure
.
{TIME:time} works well, but I want hour, minute and second.
filter {
grok {
match => {"message" => "%{DATE:date} %{HOUR:hour}:%{MINUTE:minute}:%{SECOND:second} %{GREEDYDATA:logMessage}"}
}
}