Hi All,
I want to parse following log patterns with logstash:
2016-08-12 16:37:00,039 [8] ERROR OnlineService Object reference not set to an instance of an object.
As of now I have created following pattern:
%{TIMESTAMP_ISO8601:timestamp_match} %{GREEDYDATA:logs}
I need to extract timestamp(2016-08-12 16:37:00), code_1(039), code_2(8), log_level(ERROR),message(OnlineService Object reference not set to an instance of an object.) from log file to ingest into elasticsearch index.
Can anyone please help in above patter creation.
Regards,
Abhishek