Got different logs in my elastic and need grok patterns to capture these logs can someone help me how to write grok patterns for different logs? Sample log :
2005-03-19 15:10:26,618 - simple_example - DEBUG - debug message
CodePudding user response:
Writing a grok pattern is not really hard if you have access to grok duggers and existing grok definitions.
Please use this website to write grok patterns as it tells exactly where you have gone wrong.