please help me with rex
i want to retrieve java.net.SocketTimeoutException: Read timed out
from below _raw
"msgContentType":"java.net.SocketTimeoutException: Read timed out"
Hi sravankaripe
try
\"msgContentType\"\:\"(?<your_field>[^\"]*)
see at https://regex101.com/r/eNg0P0/1
Bye.
Giuseppe
Hi sravankaripe
try
\"msgContentType\"\:\"(?<your_field>[^\"]*)
see at https://regex101.com/r/eNg0P0/1
Bye.
Giuseppe
in the same event i have one more
"msgContentType":"Exception occured Retirement Audit Rest service"
it is retriving "Exception occured Retirement Audit Rest service"
whai need is "java.net.SocketTimeoutException: Read timed out"
what* need is "java.net.SocketTimeoutException: Read timed out"
try this
\"msgContentType\":\"(?java[^\"]*)
see https://regex101.com/r/eNg0P0/2
Bye.
Giuseppe
sry not working
Can you share some example of your logs, to detail the regex?
because as you can see in regex101 it seems to work..
Bye.
Giuseppe
i have one more content in same event.
i think will it helps you i think to retrive
java.net.SocketTimeoutException: Read timed out
"msgQueryString":"com.wm.app.b2b.server.ServiceException: java.net.SocketTimeoutException: Read timed out\n\
try now
\"[^\"]*\"\:\".*\s(?<your_field>java[^\"]*)
see https://regex101.com/r/eNg0P0/3
Bye.
Giuseppe
got it thanks