python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
GROK Filter Help Logstash
Hello I am new to GROK learning, I am trying to store following log in seperate fields, having a hard time writing a GROK filter to do it
This is the log
01/04/2021 15:30:00.300 +03:00 - [INFO] - [w3w...

Haider
Votes: 0
Answers: 1
Logstash grok pattern to catch the first line with the string Exception
This is the an example log:
2022-01-07 11:05:01,185 [http-nio-8080-exec-526] WARN de.web.Main| = - Error while execute Request
javax.servlet.ServletException: com.cg.blart.web.HttpInvocationException...

Frankenstein
Votes: 0
Answers: 1
Grok Pattern optional fields on line end
I want to "grok" these two lines:
usg210 CEF:0|ZyXEL|USG210|4.65(AAPI.1)|0|Access Control|5|devID=bccf4fxxxxxx src=192.168.1.228 dst=255.255.255.255 spt=7303 dpt=7303 msg=Match default rule,...
og9gjz
Votes: 0
Answers: 1
Grok filter is not working when id has dashes
I have a sample input like below.
[2022-01-06 19:51:42,143] [http-nio-8080-exec-7] DEBUG [50a4f8740c30b9ca,c1b11682-1eeb-4538-b7f6-d0fb261b3e1d]
I implemented a grok filter to validate the text.
\[%...

HiddenFace
Votes: 0
Answers: 2