I have a log that I need to collect, however it only contains the timestamp at the begining with no date.
Example:
145231.hostname!process1.19022.2799412992.0: msg1 "INFO: msg2"
I am successfully parsing the data with the grok statement below:
Example:
%{HOUR}%{MINUTE}%{SECOND}.%{DATA:my_host}!%{DATA:process}: %{DATA:msg1} %{GREEDYDATA:msg2}
What I am stuck on is how to use the date filter to set the timestamp on the event, using the data from the log entry and the present date. Does anyone have an example?