I have the below log pattern in a single line and trying to filter this from massive log using GROK FIlter
2018-02-17 17:00:12.7280 Information |||| Application: Hyperion |||| User: Teddy |||| Template: Homepage |||| Report: FINREP |||| ExecutionTime: 200 ms
I have used this below grok filter however ( havent build the complete grok yet) however it couldn't identify how to filer the special Character |||| from this; could you please advise on how to capture the special characters |||| please
and here is the match but unfortunately, It couldn't match the |||| so couldn't move proceed further; can you please review and help on how match the special characters |||| and complete the entire grok filter for the line
I am really newbie so really finding hard to understand how GROK works..I really need your advise how to achieve and match to the LOG details and produce accurate results which helps for diagnosing performance issues we have currently.
My apologies if I am nagging , just need small push and advise from this forum.
Always format snippet from logs and configurations as preformatted text using the </> toolbar button. Otherwise we won't be able to see exactly what e.g. your grok expression looks like. Specifically, are you escaping the | characters with a backslash?
Thanks Magnus for the reply; Here is the line which I have been trying to match and filter out from the massive log.
<
2018-02-17 17:00:12.7280 Information |||| Application: Hyperion |||| User: Teddy |||| Template: Homepage |||| Report: FINREP |||| ExecutionTime: 200 ms
/>
And this is the GROK filter trying to write to match to the above
<
%{TIMESTAMP_ISO8601:timestamp} %{WORD:Info} %{SPACE}|%{NOTSPACE}|%{NOTSPACE}
/>
Basically I am stuck how to escape the special character |.
However, from this message, I want to filter out Report Name and the Execution time and populate in Kibana under Y & X axis.
is it possible to filter the Report name and the execution details from the message from Kibana -> Discover and then visualize in a pictorial representation?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.