Hi,
Here is my log pattern for which I need to write the grok for:
Log Pattern :
2016-12-05 17:31:10:675 WARNI Received signal: SIGTERM [OSignalHandler]
Another log pattern :
2016-12-05 16:52:12:805 SEVER Unable to listen for connections using configured hosts [OServerNetworkListener]
I see the grok file in logstash folder in
C:\logstash-5.0.0\logstash-5.0.0\vendor\bundle\jruby\1.9\gems\logstash-patterns-core-4.0.2\patterns..
In grok-patterns file - there is log-level:
LOGLEVEL ([Aa]lert|ALERT|[Tt]race|TRACE|[Dd]ebug|DEBUG|[Nn]otice|NOTICE|[Ii]nfo|INFO|[Ww]arn?(?:ing)?|WARN?(?:ING)?|[Ee]rr?(?:or)?|ERR?(?:OR)?|[Cc]rit?(?:ical)?|CRIT?(?:ICAL)?|[Ff]atal|FATAL|[Ss]evere|SEVERE|EMERG(?:ENCY)?|[Ee]merg(?:ency)?)
I want to add WARNI and SEVER present in my log to this Pattern.
Can anyone help on this?
Thanks !